Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009869/0.0009869, allocations: 92 kB / 16.02 MB, free: 80 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.001294/0.001294, allocations: 177.9 kB / 16.92 MB, free: 6.652 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.285 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.379/2.379, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004495, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6518/0.6523, allocations: 142.4 MB / 0.9557 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001427/0.6538, allocations: 1.225 MB / 0.9569 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.6549, allocations: 0.7142 MB / 0.9576 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.6549, allocations: 0 / 0.9576 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.6549, allocations: 3.938 kB / 0.9576 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.655, allocations: 9.359 kB / 0.9576 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.6554, allocations: 105.5 kB / 0.9577 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.035e-05/0.6555, allocations: 73.77 kB / 0.9578 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.6556, allocations: 13.8 kB / 0.9578 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.536e-05/0.6557, allocations: 36.88 kB / 0.9578 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.952e-05/0.6558, allocations: 34.92 kB / 0.9579 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.6558, allocations: 3.281 kB / 0.9579 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.656, allocations: 89.53 kB / 0.9579 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.656, allocations: 11.42 kB / 0.958 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.6561, allocations: 57.86 kB / 0.958 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.6562, allocations: 100 kB / 0.9581 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6562, allocations: 0 / 0.9581 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6562, allocations: 0 / 0.9581 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.6562, allocations: 4 kB / 0.9581 GB, free: 5.812 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.0004901/0.6567, allocations: 405.6 kB / 0.9585 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.6568, allocations: 12.75 kB / 0.9585 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.6568, allocations: 9.062 kB / 0.9585 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.096e-05/0.6569, allocations: 175.6 kB / 0.9587 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.6569, allocations: 3.656 kB / 0.9587 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.657, allocations: 3.875 kB / 0.9587 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.6571, allocations: 82.41 kB / 0.9588 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.6571, allocations: 1.25 kB / 0.9588 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.6572, allocations: 3.984 kB / 0.9588 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.6572, allocations: 1.281 kB / 0.9588 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.6573, allocations: 38.05 kB / 0.9588 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.6578, allocations: 329.3 kB / 0.9591 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.6579, allocations: 52.42 kB / 0.9592 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.658, allocations: 38.25 kB / 0.9592 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.6581, allocations: 1.781 kB / 0.9592 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.6582, allocations: 86.97 kB / 0.9593 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.6582, allocations: 0 / 0.9593 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003593/0.6586, allocations: 153.4 kB / 0.9594 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.6586, allocations: 57.7 kB / 0.9595 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.6587, allocations: 120.2 kB / 0.9596 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.6587, allocations: 30.48 kB / 0.9596 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.6588, allocations: 95.81 kB / 0.9597 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.6588, allocations: 13.47 kB / 0.9597 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.6588, allocations: 22.56 kB / 0.9598 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.6589, allocations: 323.9 kB / 0.9601 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/0.659, allocations: 26.2 kB / 0.9601 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.6591, allocations: 54.45 kB / 0.9602 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.6592, allocations: 80.55 kB / 0.9602 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6592, allocations: 0 / 0.9602 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002148/0.6594, allocations: 121.9 kB / 0.9603 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.6595, allocations: 5.5 kB / 0.9604 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.6595, allocations: 1.375 kB / 0.9604 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.6595, allocations: 1.375 kB / 0.9604 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.6596, allocations: 16.17 kB / 0.9604 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.6596, allocations: 1.375 kB / 0.9604 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.6597, allocations: 13.44 kB / 0.9604 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.6597, allocations: 8.109 kB / 0.9604 GB, free: 3.668 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.443e-05/0.6598, allocations: 121.9 kB / 0.9605 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.6598, allocations: 6.656 kB / 0.9605 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.6598, allocations: 11.12 kB / 0.9605 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6598, allocations: 0 / 0.9605 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6598, allocations: 5.312 kB / 0.9605 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6598, allocations: 3.984 kB / 0.9605 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.6602, allocations: 388.4 kB / 0.9609 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.6602, allocations: 0 / 0.9609 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.6602, allocations: 8.109 kB / 0.9609 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.6602, allocations: 1.375 kB / 0.9609 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.6603, allocations: 5.375 kB / 0.9609 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.6603, allocations: 3.938 kB / 0.9609 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6603, allocations: 3.938 kB / 0.9609 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.6605, allocations: 219.7 kB / 0.9611 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.6605, allocations: 82.39 kB / 0.9612 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.6606, allocations: 1.375 kB / 0.9612 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.6607, allocations: 12.11 kB / 0.9612 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.6607, allocations: 6.688 kB / 0.9612 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.6607, allocations: 2.75 kB / 0.9612 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.6608, allocations: 96.89 kB / 0.9613 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6608, allocations: 0 / 0.9613 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002804/0.661, allocations: 39.48 kB / 0.9614 GB, free: 2.754 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.0002887/0.6613, allocations: 162.7 kB / 0.9615 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.6616, allocations: 86.62 kB / 0.9616 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6616, allocations: 0 / 0.9616 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.136e-05/0.6617, allocations: 39.34 kB / 0.9616 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.6619, allocations: 9.031 kB / 0.9617 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.6623, allocations: 240.6 kB / 0.9619 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.6624, allocations: 0.6876 MB / 0.9626 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.6624, allocations: 11.09 kB / 0.9626 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6624, allocations: 0 / 0.9626 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of Templates: time 0.003016/0.6654, allocations: 1.6 MB / 0.9641 GB, free: 0.832 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches