Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.268/2.268, allocations: 391.2 MB / 407 MB, free: 10.86 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.001105/0.001105, allocations: 195.4 kB / 499.1 MB, free: 4.676 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.445/1.445, allocations: 222.9 MB / 0.7948 GB, free: 15.79 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.001186/0.001185, allocations: 120.9 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 50.17 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2554, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002546/0.2581, allocations: 1.577 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2593, allocations: 0.7449 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.2594, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.959e-05/0.2595, allocations: 7.922 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.364e-05/0.2596, allocations: 11.92 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.2601, allocations: 107.8 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.2602, allocations: 95.64 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.2603, allocations: 19.94 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.2605, allocations: 47.83 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.2605, allocations: 43.83 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.2606, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.2607, allocations: 91.84 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.2608, allocations: 15.92 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.2608, allocations: 35.78 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.261, allocations: 157.8 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2611, allocations: 4 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2611, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2611, allocations: 0 / 1.221 GB, free: 114.3 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006587/0.2617, allocations: 0.4893 MB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2618, allocations: 11.98 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.2618, allocations: 8.844 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.72e-05/0.2619, allocations: 180.2 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.262, allocations: 4.375 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.262, allocations: 8.375 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.2622, allocations: 89.94 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2622, allocations: 3.938 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2622, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2622, allocations: 7.938 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.2623, allocations: 47.97 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.2629, allocations: 340.6 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.2631, allocations: 86.7 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.961e-05/0.2632, allocations: 40.84 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.2632, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.2634, allocations: 103.3 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.2634, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.000373/0.2638, allocations: 173.4 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.2638, allocations: 59.39 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.2639, allocations: 136.4 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.2639, allocations: 29.7 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.264, allocations: 96.14 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.264, allocations: 31.62 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.2641, allocations: 29.7 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.2641, allocations: 322.8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.2642, allocations: 35.91 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.093e-05/0.2643, allocations: 65.14 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.2644, allocations: 113 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2644, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000217/0.2647, allocations: 141.5 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2647, allocations: 5.406 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2647, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2647, allocations: 4.141 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2648, allocations: 15.98 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.2648, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.562e-05/0.2649, allocations: 23.88 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.265, allocations: 4 kB / 1.224 GB, free: 111.4 MB / 0.823 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.959e-05/0.265, allocations: 134.4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.2651, allocations: 7.906 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.2654, allocations: 162.3 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2654, allocations: 4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2654, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2654, allocations: 3.938 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.2659, allocations: 446.3 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2659, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.082e-05/0.266, allocations: 19.92 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.266, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.266, allocations: 11.92 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.266, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.266, allocations: 7.938 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.2665, allocations: 0.8294 MB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.2665, allocations: 92.86 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.2666, allocations: 4 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2667, allocations: 7.984 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.2667, allocations: 15.98 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.2667, allocations: 7.984 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.2668, allocations: 101.9 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2668, allocations: 0 / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004002/0.2672, allocations: 47.94 kB / 1.225 GB, free: 109.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: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0003145/0.2675, allocations: 160.2 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.2678, allocations: 102.6 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2678, allocations: 4.188 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.2679, allocations: 51.97 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.2682, allocations: 26.95 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.2686, allocations: 384.6 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.2688, allocations: 0.7004 MB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 5.153e-05/0.2688, allocations: 4.438 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.2689, allocations: 23.42 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.2689, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of Templates: time 0.004093/0.273, allocations: 1.867 MB / 1.229 GB, free: 106 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)