Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008293/0.008293, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.0019/0.0019, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.472/2.472, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 69 kB / 0.9508 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3562, allocations: 140.4 MB / 1.088 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002547/0.3588, allocations: 1.33 MB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008337/0.3597, allocations: 356.6 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.3597, allocations: 0 / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.686e-05/0.3598, allocations: 0 / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.674e-05/0.3599, allocations: 3.938 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.3603, allocations: 95.7 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.3604, allocations: 55.91 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.3605, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.3605, allocations: 19.92 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.3606, allocations: 19.91 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.3606, allocations: 4 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.3608, allocations: 95.84 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.3608, allocations: 27.92 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.3609, allocations: 43.75 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.3611, allocations: 159.5 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3611, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3611, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3611, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005553/0.3617, allocations: 0.5162 MB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3617, allocations: 8.031 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.3619, allocations: 20.84 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.362, allocations: 184.1 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.362, allocations: 384 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3621, allocations: 4.375 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.3623, allocations: 245.9 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.3623, allocations: 192 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3624, allocations: 7.938 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.3624, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3625, allocations: 144 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.3627, allocations: 193.5 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.3631, allocations: 0.5337 MB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.3635, allocations: 0.5204 MB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.3635, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/0.3639, allocations: 399.6 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=39): time 1.012e-06/0.3639, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39): time 0.0008139/0.3647, allocations: 0.6892 MB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.3648, allocations: 113.1 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.3649, allocations: 97.84 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3649, allocations: 29.7 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.365, allocations: 88.73 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.3651, allocations: 71 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.3651, allocations: 33.7 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.3653, allocations: 330.8 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.3655, allocations: 83.97 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.3655, allocations: 87.97 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.3659, allocations: 353.3 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.3659, allocations: 0 / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000369/0.3663, allocations: 340.1 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-05/0.3664, allocations: 81.58 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3664, allocations: 0 / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3664, allocations: 0 / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.3665, allocations: 0 / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3665, allocations: 4 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.3666, allocations: 27.84 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.3666, allocations: 4 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002561/0.3669, allocations: 269.7 kB / 1.095 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.367, allocations: 27.75 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.367, allocations: 9.203 kB / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.367, allocations: 0 / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.367, allocations: 0 / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.367, allocations: 0 / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.3672, allocations: 249.3 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3672, allocations: 0 / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.3672, allocations: 4 kB / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3672, allocations: 3.938 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.3673, allocations: 16 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3673, allocations: 3.984 kB / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3673, allocations: 0 / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.3686, allocations: 1.271 MB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.3686, allocations: 92.86 kB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3688, allocations: 79.88 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.3688, allocations: 12.03 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.3689, allocations: 12.12 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.3689, allocations: 15.98 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.712e-05/0.369, allocations: 83.27 kB / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.369, allocations: 0 / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002919/0.3693, allocations: 71.98 kB / 1.097 GB, free: 7.598 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004618/0.3697, allocations: 238.5 kB / 1.097 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.3714, allocations: 1.967 MB / 1.099 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3714, allocations: 0 / 1.099 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.3731, allocations: 2.015 MB / 1.101 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.3733, allocations: 16 kB / 1.101 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.3739, allocations: 339.5 kB / 1.102 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.3743, allocations: 0.7244 MB / 1.102 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.919e-05/0.3743, allocations: 3.938 kB / 1.102 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.104e-05/0.3743, allocations: 7.438 kB / 1.102 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3743, allocations: 0 / 1.102 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of Templates: time 0.006285/0.3806, allocations: 2.73 MB / 1.105 GB, free: 15.5 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches