Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, 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.001189/0.001189, allocations: 190.8 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.433/1.433, allocations: 205.1 MB / 222 MB, free: 4.746 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.568/1.568, allocations: 251.6 MB / 0.5088 GB, free: 3.332 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.001317/0.001317, allocations: 63.91 kB / 0.6216 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.495, allocations: 104.7 MB / 0.7238 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002491/0.4975, allocations: 1.554 MB / 0.7253 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.4988, allocations: 0.8185 MB / 0.7261 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.4988, allocations: 4 kB / 0.7261 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.4989, allocations: 3.938 kB / 0.7261 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.499, allocations: 15.86 kB / 0.7261 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.4994, allocations: 103.8 kB / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.4995, allocations: 75.72 kB / 0.7263 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.4996, allocations: 19.97 kB / 0.7263 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.366e-05/0.4997, allocations: 31.92 kB / 0.7264 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.935e-05/0.4997, allocations: 43.81 kB / 0.7264 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.4998, allocations: 4 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.4999, allocations: 87.86 kB / 0.7265 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.5, allocations: 15.91 kB / 0.7265 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.5, allocations: 31.86 kB / 0.7265 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.5002, allocations: 141.6 kB / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5002, allocations: 0 / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.51e-07/0.5002, allocations: 0 / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.5002, allocations: 4 kB / 0.7267 GB, free: 10.14 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.0007264/0.501, allocations: 470.5 kB / 0.7271 GB, free: 9.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.501, allocations: 8.031 kB / 0.7271 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.5011, allocations: 8.844 kB / 0.7271 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5012, allocations: 184.2 kB / 0.7273 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.5012, allocations: 384 / 0.7273 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.5012, allocations: 12.36 kB / 0.7273 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.5014, allocations: 73.97 kB / 0.7274 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.5014, allocations: 3.984 kB / 0.7274 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.5014, allocations: 4 kB / 0.7274 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5014, allocations: 4 kB / 0.7274 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.5016, allocations: 39.91 kB / 0.7275 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.5021, allocations: 320.7 kB / 0.7278 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.5022, allocations: 66.55 kB / 0.7278 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.752e-05/0.5023, allocations: 32.84 kB / 0.7279 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.5024, allocations: 4 kB / 0.7279 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.5026, allocations: 99.33 kB / 0.728 GB, free: 8.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.5026, allocations: 4 kB / 0.728 GB, free: 8.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003923/0.503, allocations: 157.5 kB / 0.7281 GB, free: 8.496 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.5031, allocations: 55.41 kB / 0.7282 GB, free: 8.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.578e-05/0.5032, allocations: 125.2 kB / 0.7283 GB, free: 8.301 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.5032, allocations: 33.69 kB / 0.7283 GB, free: 8.262 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.5033, allocations: 92.38 kB / 0.7284 GB, free: 8.168 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.5033, allocations: 27.8 kB / 0.7284 GB, free: 8.141 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.5034, allocations: 29.7 kB / 0.7285 GB, free: 8.105 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5035, allocations: 330.8 kB / 0.7288 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.5036, allocations: 19.98 kB / 0.7288 GB, free: 7.754 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.359e-05/0.5037, allocations: 73.06 kB / 0.7289 GB, free: 7.664 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.5038, allocations: 101.1 kB / 0.729 GB, free: 7.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5039, allocations: 0 / 0.729 GB, free: 7.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002339/0.5041, allocations: 125.4 kB / 0.7291 GB, free: 7.418 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.5041, allocations: 4 kB / 0.7291 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.5041, allocations: 8.125 kB / 0.7291 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.5041, allocations: 0 / 0.7291 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.5043, allocations: 23.86 kB / 0.7291 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.5043, allocations: 7.969 kB / 0.7291 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.5044, allocations: 15.91 kB / 0.7291 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.5044, allocations: 7.984 kB / 0.7291 GB, free: 7.352 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.000107/0.5045, allocations: 129.7 kB / 0.7293 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.5046, allocations: 7.906 kB / 0.7293 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.5049, allocations: 149.9 kB / 0.7294 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.5049, allocations: 0 / 0.7294 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5049, allocations: 0 / 0.7294 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5049, allocations: 96 / 0.7294 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.5055, allocations: 434.2 kB / 0.7298 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5055, allocations: 0 / 0.7298 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.5056, allocations: 12 kB / 0.7298 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.902e-06/0.5056, allocations: 4.375 kB / 0.7298 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.5057, allocations: 7.984 kB / 0.7299 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5057, allocations: 0 / 0.7299 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5057, allocations: 3.938 kB / 0.7299 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.506, allocations: 223.3 kB / 0.7301 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.506, allocations: 85.02 kB / 0.7301 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.5061, allocations: 11.92 kB / 0.7302 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.5062, allocations: 12 kB / 0.7302 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.5062, allocations: 15.91 kB / 0.7302 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.5063, allocations: 4 kB / 0.7302 GB, free: 6.168 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.836e-05/0.5063, allocations: 99.27 kB / 0.7303 GB, free: 6.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5063, allocations: 0 / 0.7303 GB, free: 6.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003277/0.5067, allocations: 40 kB / 0.7303 GB, free: 6.031 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 (12): * Single equations (assignments): 9 * 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.0003398/0.507, allocations: 162.9 kB / 0.7305 GB, free: 5.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.5073, allocations: 83.83 kB / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5073, allocations: 0 / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.5074, allocations: 55.89 kB / 0.7306 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.5077, allocations: 20.23 kB / 0.7306 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.5082, allocations: 217.5 kB / 0.7308 GB, free: 5.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.5087, allocations: 0.6965 MB / 0.7315 GB, free: 4.762 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.004e-05/0.5088, allocations: 12.42 kB / 0.7315 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.5088, allocations: 11.44 kB / 0.7315 GB, free: 4.738 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.5088, allocations: 3.938 kB / 0.7315 GB, free: 4.734 MB / 0.545 GB Notification: Performance of Templates: time 0.004437/0.5133, allocations: 1.68 MB / 0.7332 GB, free: 3.062 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)