Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001127/0.001127, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009223/0.009223, allocations: 169.3 kB / 16.26 MB, free: 6.648 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004199, allocations: 9.188 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4159, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001994/0.4179, allocations: 1.056 MB / 1.075 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009067/0.4188, allocations: 359.1 kB / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.4189, allocations: 0 / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.364e-05/0.419, allocations: 3.984 kB / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.616e-05/0.4191, allocations: 7.938 kB / 1.076 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.4196, allocations: 79.86 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.985e-05/0.4197, allocations: 35.91 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.722e-05/0.4198, allocations: 4 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.4198, allocations: 19.92 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.4199, allocations: 15.92 kB / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.4199, allocations: 4 kB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.4201, allocations: 83.78 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.4202, allocations: 27.92 kB / 1.076 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.243e-05/0.4203, allocations: 81.42 kB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.4205, allocations: 151.5 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4205, allocations: 0 / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.053e-06/0.4206, allocations: 0 / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.4206, allocations: 0 / 1.076 GB, free: 5.605 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.0005873/0.4212, allocations: 0.4969 MB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.4212, allocations: 8.031 kB / 1.076 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.4214, allocations: 12.84 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.4216, allocations: 176.2 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.4216, allocations: 8.375 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.4216, allocations: 4.375 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.422, allocations: 240 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.422, allocations: 8.125 kB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.422, allocations: 3.938 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.422, allocations: 0 / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.4222, allocations: 144 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.4224, allocations: 193.5 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.423, allocations: 0.5379 MB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000416/0.4234, allocations: 0.5207 MB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.4234, allocations: 0 / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000453/0.4238, allocations: 395.6 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.4239, allocations: 0 / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39): time 0.000819/0.4247, allocations: 0.6931 MB / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.4248, allocations: 105.1 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.366e-05/0.4249, allocations: 101.9 kB / 1.08 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.4249, allocations: 29.69 kB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.4249, allocations: 80.8 kB / 1.08 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.27e-05/0.425, allocations: 75 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.4251, allocations: 29.7 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4252, allocations: 326.8 kB / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.4253, allocations: 79.98 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.4254, allocations: 83.91 kB / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.4258, allocations: 361.4 kB / 1.081 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4258, allocations: 3.938 kB / 1.081 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000382/0.4262, allocations: 332.1 kB / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/0.4263, allocations: 85.58 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4263, allocations: 0 / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4263, allocations: 0 / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.772e-05/0.4264, allocations: 4 kB / 1.081 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4264, allocations: 0 / 1.081 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.4266, allocations: 27.62 kB / 1.081 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.4266, allocations: 12 kB / 1.081 GB, free: 208 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.0002945/0.4269, allocations: 273.7 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.4269, allocations: 23.78 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.357e-05/0.427, allocations: 5.219 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.427, allocations: 4 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.427, allocations: 0 / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.427, allocations: 0 / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.4272, allocations: 249.3 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4272, allocations: 0 / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.4272, allocations: 0 / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4272, allocations: 4.125 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.4273, allocations: 19.98 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4273, allocations: 0 / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4273, allocations: 0 / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.4286, allocations: 1.283 MB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.4286, allocations: 92.86 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.4288, allocations: 75.89 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.4289, allocations: 8 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.4289, allocations: 12.02 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.4289, allocations: 15.98 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.429, allocations: 79.28 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.429, allocations: 3.938 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000331/0.4293, allocations: 72 kB / 1.083 GB, free: 13.9 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.0005046/0.4298, allocations: 248.2 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.4316, allocations: 1.967 MB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4316, allocations: 0 / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.4332, allocations: 2.011 MB / 1.087 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.4335, allocations: 16 kB / 1.087 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.4341, allocations: 358 kB / 1.088 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4345, allocations: 0.7207 MB / 1.088 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.883e-05/0.4345, allocations: 0 / 1.088 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.387e-05/0.4345, allocations: 7.438 kB / 1.088 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of SimCode: time 3.286e-06/0.4345, allocations: 0 / 1.088 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of Templates: time 0.006124/0.4407, allocations: 2.428 MB / 1.091 GB, free: 6.086 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)