Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.348 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.382/2.382, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003533, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6662/0.6665, allocations: 142.4 MB / 0.9557 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001408/0.668, allocations: 1.217 MB / 0.9569 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.6691, allocations: 0.7147 MB / 0.9576 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.6692, allocations: 3.938 kB / 0.9576 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.6692, allocations: 3.938 kB / 0.9576 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.6692, allocations: 14.09 kB / 0.9576 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.6697, allocations: 104 kB / 0.9577 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.745e-05/0.6698, allocations: 78.44 kB / 0.9578 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.299e-05/0.6699, allocations: 17.62 kB / 0.9578 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.6699, allocations: 26.33 kB / 0.9578 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.67, allocations: 34.67 kB / 0.9579 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.67, allocations: 3.781 kB / 0.9579 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.6702, allocations: 92.31 kB / 0.9579 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.6702, allocations: 11.05 kB / 0.958 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.6703, allocations: 57.2 kB / 0.958 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.6704, allocations: 104.2 kB / 0.9581 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6704, allocations: 0 / 0.9581 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6705, allocations: 1.188 kB / 0.9581 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.6705, allocations: 0 / 0.9581 GB, free: 5.957 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.0004817/0.6709, allocations: 408.6 kB / 0.9585 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.671, allocations: 10.56 kB / 0.9585 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.671, allocations: 7.906 kB / 0.9585 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.341e-05/0.6711, allocations: 180 kB / 0.9587 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.6711, allocations: 7.188 kB / 0.9587 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.6712, allocations: 4.438 kB / 0.9587 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.6713, allocations: 81.89 kB / 0.9588 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6714, allocations: 0 / 0.9588 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.6714, allocations: 2 kB / 0.9588 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.6714, allocations: 0 / 0.9588 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.6715, allocations: 46.88 kB / 0.9588 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.672, allocations: 318 kB / 0.9591 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.6722, allocations: 55.06 kB / 0.9592 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.6722, allocations: 38.83 kB / 0.9592 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.6723, allocations: 0 / 0.9592 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.6724, allocations: 80 kB / 0.9593 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.6725, allocations: 9.312 kB / 0.9593 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003698/0.6728, allocations: 143.7 kB / 0.9594 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.6729, allocations: 58.09 kB / 0.9595 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.6729, allocations: 125 kB / 0.9596 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.673, allocations: 27.08 kB / 0.9596 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.673, allocations: 94.8 kB / 0.9597 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.673, allocations: 14.44 kB / 0.9597 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.6731, allocations: 21.67 kB / 0.9598 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.6731, allocations: 320.1 kB / 0.9601 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.6732, allocations: 29.56 kB / 0.9601 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.6733, allocations: 51.06 kB / 0.9601 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.6734, allocations: 87.3 kB / 0.9602 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6735, allocations: 1.562 kB / 0.9602 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002261/0.6737, allocations: 122.1 kB / 0.9603 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.6737, allocations: 5.219 kB / 0.9604 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6737, allocations: 1.25 kB / 0.9604 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6737, allocations: 0.875 kB / 0.9604 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.6738, allocations: 13.7 kB / 0.9604 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.6738, allocations: 1.312 kB / 0.9604 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.6739, allocations: 17.06 kB / 0.9604 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.6739, allocations: 2.594 kB / 0.9604 GB, free: 3.816 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 6.561e-05/0.674, allocations: 126.4 kB / 0.9605 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.674, allocations: 10.98 kB / 0.9605 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.6741, allocations: 9.594 kB / 0.9605 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6741, allocations: 1.062 kB / 0.9605 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6741, allocations: 1.094 kB / 0.9605 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6741, allocations: 3.938 kB / 0.9605 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.6744, allocations: 384.2 kB / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6745, allocations: 0 / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.6745, allocations: 16.91 kB / 0.9609 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.6745, allocations: 1.094 kB / 0.9609 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.6745, allocations: 5.297 kB / 0.9609 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6745, allocations: 0 / 0.9609 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6745, allocations: 7.938 kB / 0.9609 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.6748, allocations: 208.2 kB / 0.9611 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.6748, allocations: 87.09 kB / 0.9612 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.6748, allocations: 0.9688 kB / 0.9612 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.6749, allocations: 7.875 kB / 0.9612 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.675, allocations: 14.45 kB / 0.9612 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.675, allocations: 2.031 kB / 0.9612 GB, free: 3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.675, allocations: 96.92 kB / 0.9613 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.675, allocations: 0 / 0.9613 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003021/0.6753, allocations: 36.47 kB / 0.9614 GB, free: 2.906 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.0003129/0.6757, allocations: 173.4 kB / 0.9615 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.6759, allocations: 70.7 kB / 0.9616 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6759, allocations: 0 / 0.9616 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.103e-05/0.676, allocations: 39.3 kB / 0.9616 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.6763, allocations: 16.23 kB / 0.9616 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.6766, allocations: 231.4 kB / 0.9619 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.714e-05/0.6767, allocations: 0.6878 MB / 0.9625 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.6767, allocations: 19.56 kB / 0.9626 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.6767, allocations: 0 / 0.9626 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of Templates: time 0.003158/0.6799, allocations: 1.599 MB / 0.9641 GB, free: 0.9805 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches