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.761/1.761, allocations: 288.3 MB / 303.2 MB, free: 8.273 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.001123/0.001123, allocations: 169.1 kB / 371.8 MB, free: 10.29 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.563/1.563, allocations: 205.4 MB / 0.6306 GB, free: 9.996 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.001078/0.001078, allocations: 87.06 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 10.44 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2352, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7832/1.018, allocations: 140.3 MB / 1.116 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.019, allocations: 87 kB / 1.116 GB, free: 16.23 MB / 0.6823 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.009292/1.028, allocations: 3.175 MB / 1.12 GB, free: 31.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/1.028, allocations: 0 / 1.12 GB, free: 31.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.492e-06/1.028, allocations: 7.812 kB / 1.12 GB, free: 31.77 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.0005858/1.029, allocations: 469.4 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/1.029, allocations: 7.688 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/1.029, allocations: 11.75 kB / 1.12 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/1.029, allocations: 182.7 kB / 1.12 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/1.029, allocations: 6.844 kB / 1.12 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/1.029, allocations: 7.281 kB / 1.12 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/1.029, allocations: 71.25 kB / 1.12 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/1.029, allocations: 0 / 1.12 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/1.029, allocations: 2.953 kB / 1.12 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/1.029, allocations: 0 / 1.12 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/1.029, allocations: 47.48 kB / 1.12 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/1.03, allocations: 336.5 kB / 1.121 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/1.03, allocations: 65.52 kB / 1.121 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/1.03, allocations: 0 / 1.121 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/1.03, allocations: 97.48 kB / 1.121 GB, free: 30.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/1.03, allocations: 0 / 1.121 GB, free: 30.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003727/1.031, allocations: 165.6 kB / 1.121 GB, free: 30.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/1.031, allocations: 55.19 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/1.031, allocations: 120.1 kB / 1.121 GB, free: 30.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/1.031, allocations: 29.64 kB / 1.121 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/1.031, allocations: 100.9 kB / 1.121 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/1.031, allocations: 15.53 kB / 1.121 GB, free: 30.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/1.031, allocations: 0 / 1.121 GB, free: 30.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.031, allocations: 332.8 kB / 1.122 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.325e-05/1.031, allocations: 25.94 kB / 1.122 GB, free: 30.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/1.031, allocations: 69.5 kB / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.867e-05/1.031, allocations: 38.12 kB / 1.122 GB, free: 30.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.031, allocations: 0 / 1.122 GB, free: 30.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002098/1.032, allocations: 133.3 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.032, allocations: 3.844 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.032, allocations: 3.969 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.032, allocations: 7.938 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/1.032, allocations: 14.59 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.032, allocations: 3.875 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/1.032, allocations: 22.2 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/1.032, allocations: 10.55 kB / 1.122 GB, free: 29.95 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 9.66e-05/1.032, allocations: 125.3 kB / 1.122 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/1.032, allocations: 11.72 kB / 1.122 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/1.032, allocations: 151.2 kB / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/1.032, allocations: 0 / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.032, allocations: 0 / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.032, allocations: 0 / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/1.033, allocations: 442.2 kB / 1.123 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.033, allocations: 0 / 1.123 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.754e-05/1.033, allocations: 14.83 kB / 1.123 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.033, allocations: 0 / 1.123 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/1.033, allocations: 7.031 kB / 1.123 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.033, allocations: 0 / 1.123 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.033, allocations: 0 / 1.123 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/1.033, allocations: 234.3 kB / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/1.033, allocations: 87.8 kB / 1.123 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/1.033, allocations: 2.75 kB / 1.123 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/1.034, allocations: 10.64 kB / 1.123 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/1.034, allocations: 13.25 kB / 1.123 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/1.034, allocations: 7.875 kB / 1.123 GB, free: 29.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.441e-05/1.034, allocations: 99.64 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.034, allocations: 0 / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003262/1.034, allocations: 60.11 kB / 1.123 GB, free: 29.12 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.0004124/1.034, allocations: 180.2 kB / 1.123 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002356/1.035, allocations: 88.84 kB / 1.123 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.035, allocations: 3.75 kB / 1.123 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/1.035, allocations: 47.22 kB / 1.123 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/1.035, allocations: 11.47 kB / 1.123 GB, free: 29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/1.036, allocations: 228.4 kB / 1.124 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/1.036, allocations: 0.7018 MB / 1.124 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.984e-05/1.036, allocations: 6.844 kB / 1.124 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/1.036, allocations: 18.11 kB / 1.124 GB, free: 28.14 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.036, allocations: 0 / 1.124 GB, free: 28.14 MB / 0.698 GB Notification: Performance of Templates: time 0.00432/1.04, allocations: 1.809 MB / 1.126 GB, free: 27.98 MB / 0.698 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)