Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.579/2.579, allocations: 287.5 MB / 303.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 185 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009069/0.0009067, allocations: 90.31 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 19.48 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2185, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9116/1.13, allocations: 140.1 MB / 1.116 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/1.131, allocations: 88.05 kB / 1.116 GB, free: 15.71 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01419/1.145, allocations: 3.179 MB / 1.119 GB, free: 31.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.824e-06/1.145, allocations: 3.844 kB / 1.119 GB, free: 31.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.145, allocations: 0 / 1.119 GB, free: 31.26 MB / 0.698 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.0007709/1.146, allocations: 469.6 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.146, allocations: 11.91 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/1.146, allocations: 8.656 kB / 1.12 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/1.146, allocations: 181.5 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/1.146, allocations: 2.562 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/1.146, allocations: 8.031 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/1.146, allocations: 75.05 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.146, allocations: 192 / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/1.146, allocations: 7.875 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.146, allocations: 0 / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/1.147, allocations: 46.44 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/1.147, allocations: 322.3 kB / 1.12 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/1.147, allocations: 74.44 kB / 1.12 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/1.148, allocations: 34.89 kB / 1.12 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/1.148, allocations: 3.844 kB / 1.12 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/1.148, allocations: 110.7 kB / 1.121 GB, free: 30.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/1.148, allocations: 0 / 1.121 GB, free: 30.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0005296/1.148, allocations: 157.6 kB / 1.121 GB, free: 30.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/1.149, allocations: 58.25 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/1.149, allocations: 128 kB / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/1.149, allocations: 29.08 kB / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/1.149, allocations: 97.69 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/1.149, allocations: 21.94 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/1.149, allocations: 0 / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.149, allocations: 321.1 kB / 1.121 GB, free: 29.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/1.149, allocations: 24.97 kB / 1.121 GB, free: 29.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/1.149, allocations: 71 kB / 1.121 GB, free: 29.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/1.149, allocations: 110.2 kB / 1.122 GB, free: 29.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/1.15, allocations: 0 / 1.122 GB, free: 29.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003617/1.15, allocations: 136.2 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/1.15, allocations: 3.844 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.15, allocations: 0 / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.15, allocations: 7.844 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/1.15, allocations: 22.53 kB / 1.122 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.15, allocations: 3.875 kB / 1.122 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/1.15, allocations: 22.14 kB / 1.122 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/1.15, allocations: 3.844 kB / 1.122 GB, free: 29.36 MB / 0.698 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.0001204/1.15, allocations: 130.9 kB / 1.122 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/1.151, allocations: 7.688 kB / 1.122 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/1.151, allocations: 148 kB / 1.122 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.151, allocations: 3.781 kB / 1.122 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.151, allocations: 0 / 1.122 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.151, allocations: 0 / 1.122 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007298/1.152, allocations: 431.6 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.152, allocations: 4 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/1.152, allocations: 14.62 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.152, allocations: 384 / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/1.152, allocations: 6.453 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.152, allocations: 3.969 kB / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.152, allocations: 0 / 1.122 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/1.152, allocations: 240.6 kB / 1.123 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/1.152, allocations: 84.86 kB / 1.123 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/1.152, allocations: 3.328 kB / 1.123 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/1.153, allocations: 14.08 kB / 1.123 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/1.153, allocations: 14.81 kB / 1.123 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/1.153, allocations: 0 / 1.123 GB, free: 28.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.382e-05/1.153, allocations: 100.6 kB / 1.123 GB, free: 28.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.153, allocations: 0 / 1.123 GB, free: 28.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004418/1.153, allocations: 64.95 kB / 1.123 GB, free: 28.53 MB / 0.698 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.0004132/1.154, allocations: 167.7 kB / 1.123 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003396/1.154, allocations: 93.58 kB / 1.123 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.154, allocations: 0 / 1.123 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/1.154, allocations: 46.73 kB / 1.123 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/1.155, allocations: 18.91 kB / 1.123 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/1.155, allocations: 236.6 kB / 1.124 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/1.155, allocations: 0.6956 MB / 1.124 GB, free: 27.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.811e-05/1.155, allocations: 6.984 kB / 1.124 GB, free: 27.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/1.156, allocations: 17.94 kB / 1.124 GB, free: 27.55 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/1.156, allocations: 3.938 kB / 1.124 GB, free: 27.54 MB / 0.698 GB Notification: Performance of Templates: time 0.005666/1.161, allocations: 1.802 MB / 1.126 GB, free: 27.4 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)