Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001036/0.001036, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 222 MB, free: 4.984 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 251.6 MB / 0.5088 GB, free: 3.34 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 67.89 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/0.5329, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00355/0.5365, allocations: 1.573 MB / 0.7253 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.538, allocations: 0.8147 MB / 0.7261 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.5381, allocations: 0 / 0.7261 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.5382, allocations: 7.922 kB / 0.7261 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.5383, allocations: 11.92 kB / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.5389, allocations: 103.8 kB / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.539, allocations: 87.64 kB / 0.7263 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.5392, allocations: 19.98 kB / 0.7264 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.5393, allocations: 35.91 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.5394, allocations: 35.83 kB / 0.7264 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.5394, allocations: 4 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.5396, allocations: 91.84 kB / 0.7265 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.5397, allocations: 15.92 kB / 0.7265 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.5397, allocations: 39.78 kB / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.54, allocations: 145.6 kB / 0.7267 GB, free: 10.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.54, allocations: 4 kB / 0.7267 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.54, allocations: 0 / 0.7267 GB, free: 10.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.54, allocations: 0 / 0.7267 GB, free: 10.12 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009053/0.541, allocations: 474.5 kB / 0.7272 GB, free: 9.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.541, allocations: 12.03 kB / 0.7272 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.5411, allocations: 12.84 kB / 0.7272 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.5412, allocations: 184.1 kB / 0.7274 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.52e-05/0.5413, allocations: 38.27 kB / 0.7274 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.5414, allocations: 12.31 kB / 0.7274 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.5416, allocations: 77.7 kB / 0.7275 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.5416, allocations: 0 / 0.7275 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.5416, allocations: 4 kB / 0.7275 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5416, allocations: 4 kB / 0.7275 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.5418, allocations: 47.89 kB / 0.7275 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006387/0.5425, allocations: 328.7 kB / 0.7278 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.5427, allocations: 70.55 kB / 0.7279 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.5428, allocations: 40.86 kB / 0.728 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.5429, allocations: 4 kB / 0.728 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003305/0.5432, allocations: 91.36 kB / 0.728 GB, free: 8.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/0.5432, allocations: 0 / 0.728 GB, free: 8.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.000563/0.5438, allocations: 169.5 kB / 0.7282 GB, free: 8.398 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.5439, allocations: 59.41 kB / 0.7283 GB, free: 8.328 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.544, allocations: 141.1 kB / 0.7284 GB, free: 8.184 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.544, allocations: 25.7 kB / 0.7284 GB, free: 8.152 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.5441, allocations: 96.36 kB / 0.7285 GB, free: 8.055 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.5441, allocations: 19.72 kB / 0.7285 GB, free: 8.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.5442, allocations: 29.7 kB / 0.7286 GB, free: 8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5444, allocations: 326.8 kB / 0.7289 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.5445, allocations: 31.98 kB / 0.7289 GB, free: 7.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.5446, allocations: 69.06 kB / 0.729 GB, free: 7.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.5449, allocations: 113.4 kB / 0.7291 GB, free: 7.426 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5449, allocations: 0 / 0.7291 GB, free: 7.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003128/0.5452, allocations: 133.4 kB / 0.7292 GB, free: 7.289 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5452, allocations: 8 kB / 0.7292 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5453, allocations: 8.062 kB / 0.7292 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.5453, allocations: 4 kB / 0.7292 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.5454, allocations: 19.92 kB / 0.7292 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5454, allocations: 0 / 0.7292 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.5456, allocations: 15.92 kB / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.5456, allocations: 7.984 kB / 0.7293 GB, free: 7.227 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.000121/0.5457, allocations: 125.8 kB / 0.7294 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.5458, allocations: 15.81 kB / 0.7294 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.5458, allocations: 8.719 kB / 0.7294 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.5458, allocations: 4 kB / 0.7294 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.5458, allocations: 0 / 0.7294 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5458, allocations: 3.938 kB / 0.7294 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007009/0.5466, allocations: 426.4 kB / 0.7298 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5466, allocations: 0 / 0.7298 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.074e-05/0.5467, allocations: 15.98 kB / 0.7298 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5467, allocations: 0 / 0.7298 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.5467, allocations: 8 kB / 0.7298 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.5467, allocations: 7.938 kB / 0.7299 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5467, allocations: 0 / 0.7299 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.5471, allocations: 227.3 kB / 0.7301 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.5471, allocations: 88.95 kB / 0.7302 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.5472, allocations: 4 kB / 0.7302 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.5473, allocations: 11.92 kB / 0.7302 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.5474, allocations: 15.97 kB / 0.7302 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.5474, allocations: 4 kB / 0.7302 GB, free: 6.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.185e-05/0.5475, allocations: 103.3 kB / 0.7303 GB, free: 6.078 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5475, allocations: 0 / 0.7303 GB, free: 6.078 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003317/0.5478, allocations: 39.98 kB / 0.7303 GB, free: 6.039 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003616/0.5482, allocations: 170.2 kB / 0.7305 GB, free: 5.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.5485, allocations: 87.89 kB / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5485, allocations: 256 / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.5487, allocations: 51.91 kB / 0.7306 GB, free: 5.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.549, allocations: 15.98 kB / 0.7306 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.5495, allocations: 233.3 kB / 0.7309 GB, free: 5.477 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.5497, allocations: 0.6926 MB / 0.7315 GB, free: 4.758 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.809e-05/0.5498, allocations: 4.672 kB / 0.7315 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.5498, allocations: 19.42 kB / 0.7316 GB, free: 4.734 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.5498, allocations: 4 kB / 0.7316 GB, free: 4.73 MB / 0.545 GB Notification: Performance of Templates: time 0.004638/0.5545, allocations: 1.663 MB / 0.7332 GB, free: 3.074 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)