Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.59/2.59, allocations: 284.8 MB / 297.3 MB, free: 6.379 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.002022/0.002021, allocations: 176.9 kB / 365.7 MB, free: 2.598 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.084/2.084, allocations: 205.1 MB / 0.6241 GB, free: 8.203 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.001471/0.001471, allocations: 96.98 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.3e-05/5.272e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.861/0.8611, allocations: 115.2 MB / 0.97 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.264/1.125, allocations: 140.1 MB / 1.107 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/1.126, allocations: 83.52 kB / 1.107 GB, free: 12.26 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.01609/1.142, allocations: 3.319 MB / 1.11 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/1.142, allocations: 0.7188 kB / 1.11 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.036e-05/1.142, allocations: 4 kB / 1.11 GB, free: 8.969 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008909/1.143, allocations: 492 kB / 1.111 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.143, allocations: 15.95 kB / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/1.143, allocations: 15.81 kB / 1.111 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/1.143, allocations: 174.5 kB / 1.111 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/1.143, allocations: 4 kB / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/1.143, allocations: 8.531 kB / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/1.143, allocations: 70.84 kB / 1.111 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/1.143, allocations: 0 / 1.111 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/1.143, allocations: 0 / 1.111 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/1.143, allocations: 12.8 kB / 1.111 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/1.144, allocations: 39.98 kB / 1.111 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008397/1.144, allocations: 339.8 kB / 1.111 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/1.145, allocations: 78.7 kB / 1.111 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/1.145, allocations: 32.86 kB / 1.111 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/1.145, allocations: 4 kB / 1.111 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/1.145, allocations: 102.1 kB / 1.111 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.685e-06/1.145, allocations: 0 / 1.111 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0004355/1.146, allocations: 133.5 kB / 1.112 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.146, allocations: 51.41 kB / 1.112 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/1.146, allocations: 128.4 kB / 1.112 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/1.146, allocations: 29.7 kB / 1.112 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/1.146, allocations: 100 kB / 1.112 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/1.146, allocations: 27.8 kB / 1.112 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/1.146, allocations: 4 kB / 1.112 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.146, allocations: 318.8 kB / 1.112 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.792e-05/1.146, allocations: 27.98 kB / 1.112 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/1.147, allocations: 68.2 kB / 1.112 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/1.147, allocations: 27.98 kB / 1.112 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.147, allocations: 7.922 kB / 1.112 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003615/1.147, allocations: 125.5 kB / 1.112 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.147, allocations: 12.56 kB / 1.112 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.147, allocations: 3.953 kB / 1.112 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/1.147, allocations: 4 kB / 1.112 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/1.147, allocations: 15.98 kB / 1.112 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.147, allocations: 0 / 1.112 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/1.148, allocations: 23.89 kB / 1.113 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/1.148, allocations: 4 kB / 1.113 GB, free: 6.289 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001545/1.148, allocations: 117 kB / 1.113 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/1.148, allocations: 7.906 kB / 1.113 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/1.148, allocations: 168.5 kB / 1.113 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.902e-06/1.148, allocations: 3.953 kB / 1.113 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.148, allocations: 0 / 1.113 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.148, allocations: 5.781 kB / 1.113 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/1.149, allocations: 446.3 kB / 1.113 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.149, allocations: 0 / 1.113 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/1.15, allocations: 23.94 kB / 1.113 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/1.15, allocations: 3.938 kB / 1.113 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/1.15, allocations: 4 kB / 1.113 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.15, allocations: 0 / 1.113 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.15, allocations: 0 / 1.113 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/1.15, allocations: 241.3 kB / 1.113 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/1.15, allocations: 93.47 kB / 1.114 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/1.15, allocations: 7.953 kB / 1.114 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/1.151, allocations: 11.98 kB / 1.114 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/1.151, allocations: 11.98 kB / 1.114 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/1.151, allocations: 10.17 kB / 1.114 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001191/1.151, allocations: 106.2 kB / 1.114 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.151, allocations: 0 / 1.114 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004968/1.151, allocations: 59.92 kB / 1.114 GB, free: 4.906 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0005752/1.152, allocations: 174.9 kB / 1.114 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003432/1.152, allocations: 81.42 kB / 1.114 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.152, allocations: 192 / 1.114 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/1.152, allocations: 55.92 kB / 1.114 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/1.153, allocations: 18.28 kB / 1.114 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/1.153, allocations: 143.8 kB / 1.114 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/1.154, allocations: 0.7082 MB / 1.115 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001016/1.154, allocations: 12.56 kB / 1.115 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/1.154, allocations: 19.42 kB / 1.115 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/1.154, allocations: 0 / 1.115 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of Templates: time 0.007937/1.162, allocations: 2.009 MB / 1.117 GB, free: 1.715 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)