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.001023/0.001023, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.00752/0.00752, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.825/2.825, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003828, allocations: 11.27 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3914, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002047/0.3935, allocations: 1.056 MB / 1.075 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.3944, allocations: 355.1 kB / 1.076 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.3944, allocations: 4 kB / 1.076 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.846e-05/0.3945, allocations: 3.938 kB / 1.076 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.905e-05/0.3946, allocations: 3.984 kB / 1.076 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.3951, allocations: 75.8 kB / 1.076 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.278e-05/0.3952, allocations: 39.92 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.3953, allocations: 0 / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.892e-05/0.3953, allocations: 23.91 kB / 1.076 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.3954, allocations: 19.92 kB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3954, allocations: 8 kB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.3956, allocations: 75.91 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.3957, allocations: 27.86 kB / 1.076 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.123e-05/0.3958, allocations: 69.44 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.3962, allocations: 159.5 kB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3962, allocations: 3.938 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3962, allocations: 0 / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3962, allocations: 0 / 1.076 GB, free: 5.641 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.0006159/0.3968, allocations: 0.5009 MB / 1.076 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3969, allocations: 12.03 kB / 1.076 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.397, allocations: 12.84 kB / 1.077 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.3972, allocations: 176.2 kB / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.3972, allocations: 384 / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.3973, allocations: 4.375 kB / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.3976, allocations: 244 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3976, allocations: 192 / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3976, allocations: 7.938 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3976, allocations: 0 / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.3978, allocations: 147.9 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.398, allocations: 197.5 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.3985, allocations: 0.5301 MB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.3991, allocations: 0.5207 MB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.3991, allocations: 0 / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004382/0.3995, allocations: 399.7 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=39): time 1.743e-06/0.3995, allocations: 4 kB / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39): time 0.0007911/0.4003, allocations: 0.6931 MB / 1.079 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.4004, allocations: 101.1 kB / 1.079 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/0.4005, allocations: 101.8 kB / 1.08 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4005, allocations: 29.7 kB / 1.08 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.4006, allocations: 80.8 kB / 1.08 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.816e-05/0.4006, allocations: 75 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.4007, allocations: 25.7 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.4008, allocations: 326.8 kB / 1.08 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.401, allocations: 88 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.586e-05/0.4011, allocations: 79.98 kB / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.4014, allocations: 357.3 kB / 1.081 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4014, allocations: 3.938 kB / 1.081 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003552/0.4018, allocations: 336.1 kB / 1.081 GB, free: 376 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.047e-05/0.4019, allocations: 81.58 kB / 1.081 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4019, allocations: 0 / 1.081 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4019, allocations: 0 / 1.081 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.402, allocations: 4 kB / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.402, allocations: 4.062 kB / 1.081 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.4021, allocations: 31.67 kB / 1.081 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.4021, allocations: 12 kB / 1.081 GB, free: 236 kB / 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.0002963/0.4024, allocations: 261.7 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.4025, allocations: 23.84 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.125e-05/0.4025, allocations: 9.156 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4025, allocations: 0 / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.4025, allocations: 0 / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.4025, allocations: 0 / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.4027, allocations: 249.3 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4027, allocations: 4 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-06/0.4027, allocations: 0 / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4027, allocations: 11.88 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.4028, allocations: 15.98 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4028, allocations: 0 / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4028, allocations: 0 / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.404, allocations: 1.276 MB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.4041, allocations: 96.84 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-05/0.4042, allocations: 79.92 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.4042, allocations: 8 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.4043, allocations: 11.98 kB / 1.083 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.4043, allocations: 15.98 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.612e-05/0.4044, allocations: 79.28 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4044, allocations: 0 / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002985/0.4047, allocations: 68 kB / 1.083 GB, free: 13.94 MB / 0.8419 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.0004406/0.4051, allocations: 255 kB / 1.083 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.4067, allocations: 1.964 MB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4067, allocations: 3.938 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.4084, allocations: 2.011 MB / 1.087 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.4087, allocations: 25.31 kB / 1.087 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.4092, allocations: 354.6 kB / 1.088 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.4095, allocations: 0.7207 MB / 1.088 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.448e-05/0.4095, allocations: 4 kB / 1.088 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.4095, allocations: 7.438 kB / 1.088 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.4095, allocations: 0 / 1.088 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of Templates: time 0.005519/0.415, allocations: 2.425 MB / 1.091 GB, free: 6.113 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)