Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.55/2.55, allocations: 284.8 MB / 297.3 MB, free: 6.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 191.5 kB / 365.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.1 MB / 0.6241 GB, free: 8.164 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 96.62 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.147e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8389/0.839, allocations: 115.2 MB / 0.97 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2371/1.076, allocations: 140 MB / 1.107 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/1.077, allocations: 80.61 kB / 1.107 GB, free: 12.38 MB / 0.7136 GB [/var/lib/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.01525/1.092, allocations: 3.136 MB / 1.11 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.078e-06/1.092, allocations: 1.188 kB / 1.11 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.894e-06/1.092, allocations: 3.938 kB / 1.11 GB, free: 9.277 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.0008598/1.093, allocations: 472.9 kB / 1.11 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.093, allocations: 9.875 kB / 1.11 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/1.093, allocations: 7.906 kB / 1.11 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/1.093, allocations: 180.3 kB / 1.11 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/1.093, allocations: 33.69 kB / 1.11 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/1.093, allocations: 8.906 kB / 1.11 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/1.093, allocations: 65.61 kB / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.093, allocations: 9.891 kB / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/1.093, allocations: 3.984 kB / 1.111 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.093, allocations: 0 / 1.111 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/1.094, allocations: 29.88 kB / 1.111 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/1.094, allocations: 335.6 kB / 1.111 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/1.095, allocations: 62.58 kB / 1.111 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/1.095, allocations: 28.84 kB / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/1.095, allocations: 160 / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/1.095, allocations: 91.39 kB / 1.111 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/1.095, allocations: 0 / 1.111 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003882/1.096, allocations: 117.5 kB / 1.111 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.096, allocations: 61.59 kB / 1.111 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.096, allocations: 127 kB / 1.111 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/1.096, allocations: 29.7 kB / 1.111 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/1.096, allocations: 92.38 kB / 1.111 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/1.096, allocations: 23.64 kB / 1.112 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/1.096, allocations: 8 kB / 1.112 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.096, allocations: 318.8 kB / 1.112 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/1.096, allocations: 20 kB / 1.112 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/1.096, allocations: 61.16 kB / 1.112 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/1.096, allocations: 27.98 kB / 1.112 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.096, allocations: 0 / 1.112 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003075/1.097, allocations: 117.5 kB / 1.112 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.097, allocations: 8.938 kB / 1.112 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.097, allocations: 0 / 1.112 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.097, allocations: 4 kB / 1.112 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/1.097, allocations: 19.92 kB / 1.112 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.097, allocations: 3.953 kB / 1.112 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/1.097, allocations: 23.92 kB / 1.112 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/1.097, allocations: 7.984 kB / 1.112 GB, free: 6.676 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.0001081/1.097, allocations: 119.7 kB / 1.112 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/1.098, allocations: 7.906 kB / 1.112 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/1.098, allocations: 12.62 kB / 1.112 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/1.098, allocations: 2.062 kB / 1.112 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.098, allocations: 0 / 1.112 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.098, allocations: 6.016 kB / 1.112 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007976/1.098, allocations: 418.3 kB / 1.113 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.098, allocations: 0 / 1.113 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/1.099, allocations: 8.078 kB / 1.113 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/1.099, allocations: 7.984 kB / 1.113 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/1.099, allocations: 7.938 kB / 1.113 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.099, allocations: 0 / 1.113 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.099, allocations: 0 / 1.113 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/1.099, allocations: 212.5 kB / 1.113 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/1.099, allocations: 89.02 kB / 1.113 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/1.099, allocations: 0 / 1.113 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/1.099, allocations: 15.94 kB / 1.113 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/1.099, allocations: 15.92 kB / 1.113 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/1.099, allocations: 11.8 kB / 1.113 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.375e-05/1.1, allocations: 96.83 kB / 1.113 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.264e-06/1.1, allocations: 4 kB / 1.113 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004527/1.1, allocations: 59.86 kB / 1.113 GB, free: 5.52 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 (10): * Single equations (assignments): 7 * 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.0004926/1.101, allocations: 166.9 kB / 1.113 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002813/1.101, allocations: 73.27 kB / 1.113 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.101, allocations: 4.25 kB / 1.113 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/1.101, allocations: 39.98 kB / 1.113 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/1.101, allocations: 8.625 kB / 1.113 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/1.102, allocations: 131 kB / 1.114 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/1.102, allocations: 0.7009 MB / 1.114 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.553e-05/1.102, allocations: 8.672 kB / 1.114 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/1.102, allocations: 15.42 kB / 1.114 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/1.102, allocations: 0 / 1.114 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of Templates: time 0.006855/1.109, allocations: 1.798 MB / 1.116 GB, free: 2.594 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)