Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00126/0.00126, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001222/0.001222, allocations: 191.6 kB / 16.14 MB, free: 6.734 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 / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 64.8 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3782, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002641/0.3809, allocations: 1.387 MB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008941/0.3818, allocations: 374.9 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.3818, allocations: 4 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.3819, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.96e-05/0.382, allocations: 3.938 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.3824, allocations: 75.86 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.3825, allocations: 43.84 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.3825, allocations: 7.984 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.417e-05/0.3826, allocations: 8 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.3826, allocations: 27.91 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.3827, allocations: 4 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.3828, allocations: 75.86 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.3829, allocations: 27.92 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.383, allocations: 55.66 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.3832, allocations: 147.6 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3832, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3832, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.3832, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8262 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.0005945/0.3838, allocations: 0.5126 MB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3839, allocations: 12.03 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.384, allocations: 20.83 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3841, allocations: 176.2 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3842, allocations: 384 / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3842, allocations: 4.375 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.3845, allocations: 248 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3845, allocations: 192 / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3845, allocations: 3.938 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3845, allocations: 11.94 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.3847, allocations: 144 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.3849, allocations: 185.5 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.3854, allocations: 0.5379 MB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/0.3858, allocations: 0.5246 MB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.3858, allocations: 3.938 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004289/0.3862, allocations: 395.7 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=39): time 1.182e-06/0.3863, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39): time 0.000793/0.387, allocations: 0.6889 MB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.3871, allocations: 105.1 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.3872, allocations: 97.86 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3872, allocations: 25.7 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.3873, allocations: 88.73 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/0.3874, allocations: 71 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.3874, allocations: 41.69 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3875, allocations: 326.9 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.3876, allocations: 83.92 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.3877, allocations: 83.97 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.388, allocations: 353.3 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3881, allocations: 4 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003421/0.3884, allocations: 328.1 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.999e-05/0.3885, allocations: 85.58 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3885, allocations: 0 / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3885, allocations: 4 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.3886, allocations: 8 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3886, allocations: 0 / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3887, allocations: 23.69 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.3887, allocations: 11.98 kB / 1.075 GB, free: 3.254 MB / 0.8262 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.000273/0.389, allocations: 265.7 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.3891, allocations: 19.84 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.266e-05/0.3891, allocations: 13.22 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3891, allocations: 0 / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3891, allocations: 0 / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3891, allocations: 4 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.3893, allocations: 249.3 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3893, allocations: 0 / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3893, allocations: 0 / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3893, allocations: 3.938 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.3894, allocations: 11.98 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3894, allocations: 0 / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3894, allocations: 4 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.3907, allocations: 1.287 MB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.3908, allocations: 104.9 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3909, allocations: 75.89 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.391, allocations: 8 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.391, allocations: 7.984 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.3911, allocations: 15.98 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.3911, allocations: 79.28 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3911, allocations: 0 / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003016/0.3914, allocations: 64 kB / 1.077 GB, free: 0.957 MB / 0.8262 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.0004558/0.3919, allocations: 263.8 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.3935, allocations: 1.964 MB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3935, allocations: 0 / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.395, allocations: 2.011 MB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.3953, allocations: 18.39 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.3959, allocations: 353.2 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3962, allocations: 0.7245 MB / 1.082 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.601e-05/0.3963, allocations: 4 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.191e-05/0.3963, allocations: 7.438 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3963, allocations: 0 / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.005496/0.4018, allocations: 2.43 MB / 1.084 GB, free: 9.129 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_1.6_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)