Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005673/0.005673, allocations: 101.5 kB / 15.88 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 188.6 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5414, allocations: 140.3 MB / 0.9496 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002184/0.5436, allocations: 1.561 MB / 0.9511 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.5446, allocations: 0.7289 MB / 0.9518 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.5447, allocations: 0 / 0.9518 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.5447, allocations: 1.031 kB / 0.9518 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.881e-05/0.5448, allocations: 16.89 kB / 0.9518 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.5452, allocations: 109.5 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.751e-05/0.5452, allocations: 66.02 kB / 0.952 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.415e-05/0.5453, allocations: 20.84 kB / 0.952 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.5454, allocations: 26.3 kB / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.5455, allocations: 39.33 kB / 0.9521 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.5455, allocations: 4.5 kB / 0.9521 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.5456, allocations: 93.12 kB / 0.9522 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.5457, allocations: 14.42 kB / 0.9522 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.5457, allocations: 27.98 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.5459, allocations: 107.9 kB / 0.9523 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5459, allocations: 1.031 kB / 0.9523 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5459, allocations: 0 / 0.9523 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.5459, allocations: 0 / 0.9523 GB, free: 7.199 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004858/0.5464, allocations: 420.7 kB / 0.9527 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.5464, allocations: 8.594 kB / 0.9527 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.5465, allocations: 5.188 kB / 0.9527 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.475e-05/0.5465, allocations: 188.1 kB / 0.9529 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.5466, allocations: 5.938 kB / 0.9529 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.5466, allocations: 12.72 kB / 0.9529 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.5467, allocations: 71.58 kB / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.5468, allocations: 1.156 kB / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.5468, allocations: 0 / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5468, allocations: 5.391 kB / 0.953 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.5469, allocations: 36.41 kB / 0.953 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.5474, allocations: 326.1 kB / 0.9533 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.5475, allocations: 48.2 kB / 0.9534 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/0.5476, allocations: 31.34 kB / 0.9534 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.5477, allocations: 1.188 kB / 0.9534 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.5478, allocations: 82.5 kB / 0.9535 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.5478, allocations: 0 / 0.9535 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003586/0.5482, allocations: 139.8 kB / 0.9536 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.5482, allocations: 57.84 kB / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.5483, allocations: 120 kB / 0.9538 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.5483, allocations: 27.86 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.5484, allocations: 93.86 kB / 0.9539 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.5484, allocations: 11.38 kB / 0.9539 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.5484, allocations: 29.42 kB / 0.9539 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.931e-05/0.5485, allocations: 325.8 kB / 0.9543 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.701e-05/0.5486, allocations: 22.08 kB / 0.9543 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/0.5486, allocations: 48.14 kB / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.5488, allocations: 85.53 kB / 0.9544 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5488, allocations: 0 / 0.9544 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002106/0.549, allocations: 113.9 kB / 0.9545 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.549, allocations: 5.438 kB / 0.9545 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.549, allocations: 0 / 0.9545 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5491, allocations: 2.375 kB / 0.9545 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.5492, allocations: 16.3 kB / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.5492, allocations: 5.5 kB / 0.9545 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.651e-05/0.5492, allocations: 15.64 kB / 0.9546 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.5493, allocations: 2.531 kB / 0.9546 GB, free: 5.039 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.916e-05/0.5493, allocations: 119.2 kB / 0.9547 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.5493, allocations: 6.375 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.5494, allocations: 10.66 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5494, allocations: 5.844 kB / 0.9547 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5494, allocations: 0 / 0.9547 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5494, allocations: 3.984 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.5497, allocations: 374.3 kB / 0.9551 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5498, allocations: 0 / 0.9551 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.5498, allocations: 11.8 kB / 0.9551 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5498, allocations: 4.781 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.5498, allocations: 1.406 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5498, allocations: 4 kB / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5498, allocations: 8.812 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.5501, allocations: 206.2 kB / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.5501, allocations: 82.45 kB / 0.9554 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.5501, allocations: 1.156 kB / 0.9554 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.5502, allocations: 14.8 kB / 0.9554 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.5503, allocations: 6.531 kB / 0.9554 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.5503, allocations: 9.359 kB / 0.9554 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.146e-05/0.5503, allocations: 89.5 kB / 0.9555 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5503, allocations: 0 / 0.9555 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002879/0.5506, allocations: 43.98 kB / 0.9555 GB, free: 4.129 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002723/0.5509, allocations: 162.9 kB / 0.9557 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.5511, allocations: 77.33 kB / 0.9558 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5511, allocations: 0 / 0.9558 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.092e-05/0.5512, allocations: 33.23 kB / 0.9558 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.5515, allocations: 11.56 kB / 0.9558 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.5518, allocations: 224.2 kB / 0.956 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.361e-05/0.5519, allocations: 0.6942 MB / 0.9567 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.552, allocations: 14.19 kB / 0.9567 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.552, allocations: 0 / 0.9567 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of Templates: time 0.002875/0.5549, allocations: 1.599 MB / 0.9583 GB, free: 2.215 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches