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.666/1.666, allocations: 285.4 MB / 298 MB, free: 6.016 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.0009406/0.0009407, allocations: 176.8 kB / 366.4 MB, free: 2.105 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.497/1.497, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008326/0.0008323, allocations: 99.83 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.638e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7445/0.7445, allocations: 115.3 MB / 0.9709 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.9489, allocations: 140.2 MB / 1.108 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.9492, allocations: 83.94 kB / 1.108 GB, free: 11.55 MB / 0.7136 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.009482/0.9587, allocations: 3.15 MB / 1.111 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9588, allocations: 0 / 1.111 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.9588, allocations: 4 kB / 1.111 GB, free: 8.426 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.0005941/0.9594, allocations: 461.7 kB / 1.111 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.9594, allocations: 9.25 kB / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.9595, allocations: 7.906 kB / 1.111 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.9597, allocations: 169.3 kB / 1.112 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.9597, allocations: 7.984 kB / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.9597, allocations: 15.92 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.9599, allocations: 60.45 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.9599, allocations: 4 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.9599, allocations: 4 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.9599, allocations: 6.797 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.859e-05/0.96, allocations: 28 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.9607, allocations: 339.1 kB / 1.112 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.9608, allocations: 56.94 kB / 1.112 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.9608, allocations: 32.84 kB / 1.112 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.9609, allocations: 4 kB / 1.112 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.9611, allocations: 94.39 kB / 1.112 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.9611, allocations: 0 / 1.112 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002645/0.9613, allocations: 113.5 kB / 1.112 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.9614, allocations: 55.41 kB / 1.112 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.9615, allocations: 124.9 kB / 1.112 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.9615, allocations: 29.7 kB / 1.112 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.9616, allocations: 95.66 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.9616, allocations: 19.8 kB / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.9616, allocations: 0 / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9618, allocations: 318.8 kB / 1.113 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.9618, allocations: 23.98 kB / 1.113 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.279e-05/0.9619, allocations: 66.91 kB / 1.113 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/0.962, allocations: 22.89 kB / 1.113 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.962, allocations: 4 kB / 1.113 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001826/0.9622, allocations: 121.3 kB / 1.113 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.9622, allocations: 4.125 kB / 1.113 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.9622, allocations: 11.94 kB / 1.113 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.9622, allocations: 0 / 1.113 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.9624, allocations: 15.98 kB / 1.113 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.9624, allocations: 4 kB / 1.113 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.9625, allocations: 17.73 kB / 1.113 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.9625, allocations: 7.953 kB / 1.113 GB, free: 5.898 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 0.0001084/0.9626, allocations: 118 kB / 1.113 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.9626, allocations: 11.89 kB / 1.113 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.963, allocations: 138.1 kB / 1.113 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.963, allocations: 4 kB / 1.113 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.963, allocations: 0 / 1.113 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.9631, allocations: 96 / 1.113 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.9636, allocations: 426.3 kB / 1.114 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9636, allocations: 0 / 1.114 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.9636, allocations: 8 kB / 1.114 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9637, allocations: 0 / 1.114 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.9637, allocations: 11.98 kB / 1.114 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.9637, allocations: 3.938 kB / 1.114 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.9637, allocations: 5.141 kB / 1.114 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.964, allocations: 211.4 kB / 1.114 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.9641, allocations: 89.02 kB / 1.114 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.9641, allocations: 4 kB / 1.114 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.9642, allocations: 11.98 kB / 1.114 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.9643, allocations: 11.98 kB / 1.114 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.9643, allocations: 7.953 kB / 1.114 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.295e-05/0.9644, allocations: 97.52 kB / 1.114 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9644, allocations: 0 / 1.114 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003752/0.9648, allocations: 53.16 kB / 1.114 GB, free: 4.617 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.0004774/0.9653, allocations: 177.3 kB / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.9655, allocations: 74.11 kB / 1.115 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9655, allocations: 0 / 1.115 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/0.9656, allocations: 48.17 kB / 1.115 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.9659, allocations: 15.98 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.9663, allocations: 123.8 kB / 1.115 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.9666, allocations: 0.7004 MB / 1.115 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.75e-05/0.9667, allocations: 12.44 kB / 1.115 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.9667, allocations: 15.42 kB / 1.115 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.9667, allocations: 0 / 1.115 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of Templates: time 0.004953/0.9717, allocations: 1.815 MB / 1.117 GB, free: 1.656 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)