Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.88/1.88, allocations: 285.4 MB / 298 MB, free: 5.949 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.001369/0.001369, allocations: 176.8 kB / 366.4 MB, free: 2.09 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.459/1.459, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0009881/0.0009881, allocations: 97.22 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.689e-05/4.693e-05, allocations: 8 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7443/0.7444, allocations: 115.3 MB / 0.9709 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2038/0.9482, allocations: 140.2 MB / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.9486, allocations: 82.48 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.01032/0.959, allocations: 3.148 MB / 1.111 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.959, allocations: 0 / 1.111 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.9591, allocations: 4.812 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.0008888/0.96, allocations: 463.4 kB / 1.111 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.96, allocations: 8.688 kB / 1.111 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.9601, allocations: 7.906 kB / 1.111 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.9604, allocations: 167.8 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.9604, allocations: 10.44 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.9605, allocations: 4 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.9606, allocations: 71.38 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.9607, allocations: 4 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.9607, allocations: 3.984 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.9607, allocations: 2.062 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.906e-05/0.9608, allocations: 34.48 kB / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.9615, allocations: 337.1 kB / 1.112 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.9617, allocations: 55.44 kB / 1.112 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.562e-05/0.9618, allocations: 30.89 kB / 1.112 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.9618, allocations: 8.141 kB / 1.112 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.962, allocations: 97.92 kB / 1.112 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/0.962, allocations: 0 / 1.112 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002934/0.9623, allocations: 105.6 kB / 1.112 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.9624, allocations: 59.39 kB / 1.112 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.9625, allocations: 122.6 kB / 1.112 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.9625, allocations: 37.64 kB / 1.112 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.9626, allocations: 92.27 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.9627, allocations: 15.81 kB / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.9627, allocations: 4 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.9628, allocations: 326.8 kB / 1.113 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.9629, allocations: 16 kB / 1.113 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.656e-05/0.963, allocations: 67.77 kB / 1.113 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.212e-05/0.9631, allocations: 27.98 kB / 1.113 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9631, allocations: 0 / 1.113 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002304/0.9633, allocations: 121.3 kB / 1.113 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.9634, allocations: 8 kB / 1.113 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.9634, allocations: 0 / 1.113 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.9634, allocations: 4 kB / 1.113 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.9636, allocations: 15.92 kB / 1.113 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.9636, allocations: 4 kB / 1.113 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.9637, allocations: 23.48 kB / 1.113 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.9638, allocations: 7.953 kB / 1.113 GB, free: 5.887 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.0001444/0.9639, allocations: 114.5 kB / 1.113 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.964, allocations: 7.906 kB / 1.113 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.9643, allocations: 142.1 kB / 1.113 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.9643, allocations: 4 kB / 1.113 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.9643, allocations: 4 kB / 1.113 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.9643, allocations: 0 / 1.113 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.9649, allocations: 419.5 kB / 1.114 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.9649, allocations: 0 / 1.114 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.965, allocations: 15.98 kB / 1.114 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.965, allocations: 0 / 1.114 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.965, allocations: 4 kB / 1.114 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.965, allocations: 7.984 kB / 1.114 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.965, allocations: 4.047 kB / 1.114 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.9653, allocations: 219.3 kB / 1.114 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.9654, allocations: 89 kB / 1.114 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.9654, allocations: 0 / 1.114 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.9655, allocations: 11.98 kB / 1.114 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.9656, allocations: 15.98 kB / 1.114 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.9656, allocations: 7.953 kB / 1.114 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.9657, allocations: 95.27 kB / 1.114 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9657, allocations: 0 / 1.114 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003824/0.9661, allocations: 55.94 kB / 1.114 GB, free: 4.602 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.0005254/0.9666, allocations: 170.2 kB / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.9669, allocations: 75.86 kB / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9669, allocations: 0 / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.967, allocations: 43.98 kB / 1.115 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.9672, allocations: 14.12 kB / 1.115 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.9677, allocations: 128.9 kB / 1.115 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.9681, allocations: 0.6965 MB / 1.115 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.323e-05/0.9681, allocations: 16.36 kB / 1.115 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.9682, allocations: 11.44 kB / 1.115 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9682, allocations: 0 / 1.115 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of Templates: time 0.00536/0.9736, allocations: 1.823 MB / 1.117 GB, free: 1.645 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)