Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.617/1.617, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 188.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 0.6626 GB, free: 4.352 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008155/0.0008156, allocations: 95.62 kB / 0.7808 GB, free: 43.73 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004015, allocations: 11.94 kB / 0.9088 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7034/0.7038, allocations: 120.3 MB / 1.026 GB, free: 56.54 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.9013, allocations: 143.4 MB / 1.166 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.9016, allocations: 87.94 kB / 1.166 GB, free: 14.74 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009862/0.9115, allocations: 3.219 MB / 1.17 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.116e-06/0.9115, allocations: 1.781 kB / 1.17 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.9116, allocations: 7.938 kB / 1.17 GB, free: 11.57 MB / 0.7448 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.0006812/0.9122, allocations: 470.5 kB / 1.17 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.9123, allocations: 12.03 kB / 1.17 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.9124, allocations: 12.84 kB / 1.17 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.9125, allocations: 172.2 kB / 1.17 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.9125, allocations: 4.078 kB / 1.17 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.9126, allocations: 4.375 kB / 1.17 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.9127, allocations: 78.2 kB / 1.17 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9128, allocations: 8.125 kB / 1.17 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.9128, allocations: 3.938 kB / 1.17 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.9128, allocations: 0 / 1.17 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.9129, allocations: 47.97 kB / 1.17 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.9135, allocations: 324.8 kB / 1.171 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.9137, allocations: 74.52 kB / 1.171 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.9138, allocations: 32.84 kB / 1.171 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.9138, allocations: 4 kB / 1.171 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.914, allocations: 99.34 kB / 1.171 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 3.626e-06/0.914, allocations: 0 / 1.171 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003949/0.9144, allocations: 157.4 kB / 1.171 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.9145, allocations: 55.41 kB / 1.171 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.9146, allocations: 140.4 kB / 1.171 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.9146, allocations: 25.7 kB / 1.171 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.9147, allocations: 96.73 kB / 1.171 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.9147, allocations: 23.8 kB / 1.171 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.9148, allocations: 4 kB / 1.171 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.9149, allocations: 322.8 kB / 1.172 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.008e-05/0.915, allocations: 35.92 kB / 1.172 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.456e-05/0.9151, allocations: 69.12 kB / 1.172 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.9153, allocations: 109 kB / 1.172 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9153, allocations: 0 / 1.172 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002445/0.9155, allocations: 133.4 kB / 1.172 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9155, allocations: 4 kB / 1.172 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.9156, allocations: 4 kB / 1.172 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.9156, allocations: 8.125 kB / 1.172 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.9157, allocations: 19.92 kB / 1.172 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.9157, allocations: 0 / 1.172 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.9158, allocations: 19.98 kB / 1.172 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.9158, allocations: 4 kB / 1.172 GB, free: 8.773 MB / 0.7448 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.934e-05/0.9159, allocations: 120 kB / 1.172 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.916, allocations: 11.89 kB / 1.172 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.9163, allocations: 153.9 kB / 1.172 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.9163, allocations: 3.984 kB / 1.172 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.9163, allocations: 4 kB / 1.172 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.9163, allocations: 0 / 1.172 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.9169, allocations: 426.3 kB / 1.173 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9169, allocations: 0 / 1.173 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.917, allocations: 19.98 kB / 1.173 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.917, allocations: 0 / 1.173 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.917, allocations: 0 / 1.173 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.917, allocations: 0 / 1.173 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.917, allocations: 7.938 kB / 1.173 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.9173, allocations: 236.4 kB / 1.173 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.9173, allocations: 84.95 kB / 1.173 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.9174, allocations: 8 kB / 1.173 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.9175, allocations: 7.984 kB / 1.173 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.9175, allocations: 15.92 kB / 1.173 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.9175, allocations: 8 kB / 1.173 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.777e-05/0.9176, allocations: 100.8 kB / 1.173 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9176, allocations: 0 / 1.173 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003848/0.918, allocations: 51.94 kB / 1.173 GB, free: 7.438 MB / 0.7448 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 (lig.occ,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004309/0.9184, allocations: 170.4 kB / 1.173 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.9187, allocations: 87.89 kB / 1.174 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.9187, allocations: 3.938 kB / 1.174 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.9188, allocations: 55.95 kB / 1.174 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.9191, allocations: 8 kB / 1.174 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.9196, allocations: 239.6 kB / 1.174 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.9199, allocations: 0.6973 MB / 1.174 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.23e-05/0.9199, allocations: 13.98 kB / 1.174 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.92, allocations: 15.42 kB / 1.175 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.92, allocations: 0 / 1.175 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of Templates: time 0.004582/0.9246, allocations: 1.801 MB / 1.176 GB, free: 4.348 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)