Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.239/2.239, allocations: 391.2 MB / 407 MB, free: 10.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 199.4 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 113.8 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 54.55 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3333, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002309/0.3357, allocations: 1.383 MB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006663/0.3363, allocations: 375 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.3364, allocations: 3.938 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.441e-05/0.3365, allocations: 0 / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.676e-05/0.3365, allocations: 11.91 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.3369, allocations: 71.86 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.941e-05/0.3369, allocations: 35.92 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.337, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.337, allocations: 23.97 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.3371, allocations: 19.92 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.3371, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3372, allocations: 83.84 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.3373, allocations: 23.92 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.3373, allocations: 47.69 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.3375, allocations: 159.5 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3375, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3375, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.3375, allocations: 4 kB / 1.22 GB, free: 115 MB / 0.823 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.0004264/0.338, allocations: 0.5105 MB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.338, allocations: 11.98 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3381, allocations: 16.75 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.3382, allocations: 176.2 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3382, allocations: 4.375 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.3382, allocations: 12.3 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.3385, allocations: 237.9 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3385, allocations: 192 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3385, allocations: 11.94 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3385, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.3386, allocations: 144 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.3387, allocations: 193.5 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.3391, allocations: 0.5298 MB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.3393, allocations: 0.5281 MB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-06/0.3393, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002908/0.3396, allocations: 401.6 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=39): time 1.162e-06/0.3396, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=39): time 0.0005459/0.3402, allocations: 0.6867 MB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3402, allocations: 105.1 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.419e-05/0.3403, allocations: 109.7 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.3403, allocations: 25.7 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.931e-05/0.3403, allocations: 80.8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.3404, allocations: 78.91 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.3404, allocations: 37.73 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.036e-05/0.3405, allocations: 322.8 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.3405, allocations: 87.97 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.3406, allocations: 83.91 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.3408, allocations: 348.4 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3408, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002349/0.3411, allocations: 336.3 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.587e-05/0.3411, allocations: 81.59 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3411, allocations: 4.047 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3412, allocations: 11.92 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.3412, allocations: 0 / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3412, allocations: 4 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.293e-05/0.3413, allocations: 19.75 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.3413, allocations: 8 kB / 1.225 GB, free: 109.6 MB / 0.823 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.0001753/0.3415, allocations: 261.7 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.3416, allocations: 27.75 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.378e-06/0.3416, allocations: 5.219 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3416, allocations: 0 / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3416, allocations: 7.984 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3416, allocations: 0 / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.3417, allocations: 245.4 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3417, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.3417, allocations: 4 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3417, allocations: 7.938 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.3418, allocations: 12 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3418, allocations: 0 / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3418, allocations: 3.938 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.343, allocations: 2.102 MB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.343, allocations: 89 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/0.3431, allocations: 75.89 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.495e-05/0.3431, allocations: 4 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3432, allocations: 11.98 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.3432, allocations: 12 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.117e-05/0.3432, allocations: 83.27 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3432, allocations: 4.031 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003456/0.3436, allocations: 64 kB / 1.228 GB, free: 106.4 MB / 0.823 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.0003556/0.344, allocations: 258.4 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.345, allocations: 1.963 MB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.345, allocations: 0 / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008883/0.3459, allocations: 2.015 MB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.3461, allocations: 24.12 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.3467, allocations: 0.5856 MB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.3468, allocations: 0.7286 MB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.494e-05/0.3469, allocations: 7.938 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-06/0.3469, allocations: 7.438 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.3469, allocations: 0 / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of Templates: time 0.004365/0.3513, allocations: 2.624 MB / 1.236 GB, free: 98.13 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)