Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.709/1.709, allocations: 297.8 MB / 313.7 MB, free: 116 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.001008/0.001008, allocations: 179.5 kB / 384.6 MB, free: 10.85 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.472/1.472, allocations: 223.2 MB / 0.6626 GB, free: 4.238 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.000795/0.0007951, allocations: 94.02 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005682/0.0005686, allocations: 12 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7703/0.7709, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2099/0.9808, allocations: 143.4 MB / 1.166 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.9812, allocations: 86.16 kB / 1.166 GB, free: 492 kB / 0.7292 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.01089/0.9921, allocations: 3.226 MB / 1.17 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9921, allocations: 1.375 kB / 1.17 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.9921, allocations: 4 kB / 1.17 GB, free: 14.18 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.0007823/0.9929, allocations: 466.6 kB / 1.17 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.993, allocations: 8.031 kB / 1.17 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.993, allocations: 9.688 kB / 1.17 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.9932, allocations: 183.3 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.9932, allocations: 1.828 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.9933, allocations: 10.17 kB / 1.17 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.9935, allocations: 83.03 kB / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.9935, allocations: 192 / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.9935, allocations: 4.594 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.9935, allocations: 1.219 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.9937, allocations: 42 kB / 1.17 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000713/0.9944, allocations: 327.8 kB / 1.171 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.9946, allocations: 70.45 kB / 1.171 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.9947, allocations: 37.84 kB / 1.171 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.9947, allocations: 3.484 kB / 1.171 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.995, allocations: 92.47 kB / 1.171 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 4.899e-06/0.995, allocations: 0.75 kB / 1.171 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0004536/0.9954, allocations: 157.2 kB / 1.171 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.9955, allocations: 69.16 kB / 1.171 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.9956, allocations: 126 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.9957, allocations: 35.36 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.9957, allocations: 91.64 kB / 1.171 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.9958, allocations: 25.62 kB / 1.171 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.9958, allocations: 4 kB / 1.171 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9959, allocations: 322.9 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.996, allocations: 30.94 kB / 1.172 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.9962, allocations: 70.03 kB / 1.172 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.9964, allocations: 109 kB / 1.172 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9964, allocations: 0 / 1.172 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002701/0.9966, allocations: 131.9 kB / 1.172 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.9967, allocations: 8 kB / 1.172 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9967, allocations: 0 / 1.172 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.9967, allocations: 7.922 kB / 1.172 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.9968, allocations: 19.92 kB / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.9968, allocations: 0 / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.997, allocations: 15.39 kB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.997, allocations: 9.359 kB / 1.172 GB, free: 11.61 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 0.0001131/0.9971, allocations: 128 kB / 1.172 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.9971, allocations: 13.78 kB / 1.172 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.9975, allocations: 145.9 kB / 1.172 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.9975, allocations: 0.6094 kB / 1.172 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9975, allocations: 0 / 1.172 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.9975, allocations: 0.7969 kB / 1.172 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006497/0.9982, allocations: 442.2 kB / 1.173 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.9982, allocations: 1.594 kB / 1.173 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.9983, allocations: 10.06 kB / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-06/0.9983, allocations: 4.844 kB / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.9983, allocations: 1.484 kB / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9983, allocations: 0.75 kB / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.9983, allocations: 3.938 kB / 1.173 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.9986, allocations: 238.5 kB / 1.173 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.9987, allocations: 89.75 kB / 1.173 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.9987, allocations: 0.6562 kB / 1.173 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.9989, allocations: 12.09 kB / 1.173 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.9989, allocations: 21.05 kB / 1.173 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.9989, allocations: 5.219 kB / 1.173 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.945e-05/0.999, allocations: 96.22 kB / 1.173 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.91e-07/0.999, allocations: 0 / 1.173 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003752/0.9994, allocations: 57.95 kB / 1.173 GB, free: 10.36 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.0004291/0.9998, allocations: 171.5 kB / 1.173 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002513/1, allocations: 88.16 kB / 1.174 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1, allocations: 0 / 1.174 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/1, allocations: 42.14 kB / 1.174 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/1.001, allocations: 16.75 kB / 1.174 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/1.001, allocations: 245.2 kB / 1.174 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/1.001, allocations: 0.6982 MB / 1.174 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.189e-05/1.001, allocations: 12.75 kB / 1.174 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/1.002, allocations: 12.7 kB / 1.174 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.002, allocations: 0 / 1.174 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of Templates: time 0.00566/1.007, allocations: 1.797 MB / 1.176 GB, free: 8.023 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)