Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.61/1.61, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.0009788/0.0009789, allocations: 168.9 kB / 361.4 MB, free: 6.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 1.715/1.715, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000826/0.0008259, allocations: 98.98 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.624e-05, allocations: 4 kB / 0.8517 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6714/0.6715, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.8502, allocations: 139.5 MB / 1.101 GB, free: 344 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.8506, allocations: 85.06 kB / 1.101 GB, free: 260 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.009762/0.8603, allocations: 3.135 MB / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8604, allocations: 0.6875 kB / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.8604, allocations: 4 kB / 1.104 GB, free: 13.16 MB / 0.7136 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.0006266/0.861, allocations: 460.1 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.8611, allocations: 8.031 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.8611, allocations: 10.66 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.8613, allocations: 171.8 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.8613, allocations: 7.984 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.8614, allocations: 4 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001035/0.8615, allocations: 25.06 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.8616, allocations: 69.59 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.8616, allocations: 0 / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.8616, allocations: 0.875 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8616, allocations: 0 / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.8622, allocations: 310.5 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.8624, allocations: 62.59 kB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.8624, allocations: 24.86 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.8624, allocations: 0 / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.8626, allocations: 85.55 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 3.417e-06/0.8626, allocations: 6.297 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002739/0.8629, allocations: 109.5 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.863, allocations: 59.41 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.8631, allocations: 119.3 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.8631, allocations: 25.7 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.8632, allocations: 100.3 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.8632, allocations: 11.81 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.8632, allocations: 4.938 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.8633, allocations: 322.8 kB / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.8634, allocations: 24 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.8635, allocations: 57.14 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.8635, allocations: 31.92 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8635, allocations: 0 / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001687/0.8637, allocations: 108.8 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.8637, allocations: 8 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8637, allocations: 0 / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.8638, allocations: 4.109 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.8639, allocations: 25.23 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.8639, allocations: 7.047 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.864, allocations: 8 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.864, allocations: 7.984 kB / 1.106 GB, free: 10.71 MB / 0.7136 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 () * 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.27e-05/0.8641, allocations: 112.9 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.8641, allocations: 7.906 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.8644, allocations: 134.1 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8644, allocations: 0 / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8644, allocations: 0 / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.8644, allocations: 4 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.8649, allocations: 386.9 kB / 1.107 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8649, allocations: 0 / 1.107 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.774e-05/0.865, allocations: 15.98 kB / 1.107 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.865, allocations: 0 / 1.107 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.865, allocations: 7 kB / 1.107 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.865, allocations: 0 / 1.107 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.865, allocations: 3.984 kB / 1.107 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.8653, allocations: 213.3 kB / 1.107 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.8654, allocations: 85.02 kB / 1.107 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.8654, allocations: 3.984 kB / 1.107 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.8655, allocations: 16 kB / 1.107 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.8656, allocations: 11.97 kB / 1.107 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.8656, allocations: 4 kB / 1.107 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.674e-05/0.8657, allocations: 92.78 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8657, allocations: 4 kB / 1.107 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004105/0.8661, allocations: 47.92 kB / 1.107 GB, free: 9.504 MB / 0.7136 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) * 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.0003984/0.8665, allocations: 171.3 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.8667, allocations: 71.92 kB / 1.107 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8667, allocations: 0 / 1.107 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.8668, allocations: 35.94 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.867, allocations: 20.19 kB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.8673, allocations: 116.4 kB / 1.107 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.8676, allocations: 0.697 MB / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.698e-05/0.8677, allocations: 12.42 kB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.8677, allocations: 11.44 kB / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8677, allocations: 4 kB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of Templates: time 0.004153/0.8719, allocations: 1.787 MB / 1.11 GB, free: 6.602 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)