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.666/2.666, allocations: 285 MB / 292.5 MB, free: 10.47 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.001516/0.001515, allocations: 180.9 kB / 360.7 MB, free: 7.25 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.145/2.145, allocations: 205.3 MB / 0.6192 GB, free: 12.16 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.001076/0.001075, allocations: 98.14 kB / 0.7322 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.502e-05, allocations: 0 / 0.8509 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8364/0.8364, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/1.086, allocations: 139.4 MB / 1.1 GB, free: 1.035 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/1.086, allocations: 84.56 kB / 1.1 GB, free: 0.9531 MB / 0.698 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.01553/1.102, allocations: 3.294 MB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/1.102, allocations: 0 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.364e-06/1.102, allocations: 4.531 kB / 1.103 GB, free: 13.71 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.0008237/1.103, allocations: 495.6 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.103, allocations: 15.22 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/1.103, allocations: 12.31 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/1.103, allocations: 182.2 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/1.103, allocations: 4 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/1.103, allocations: 4 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001886/1.104, allocations: 39.97 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/1.104, allocations: 69.12 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.104, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/1.104, allocations: 1.078 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.104, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/1.105, allocations: 313.2 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/1.105, allocations: 76.92 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.273e-05/1.105, allocations: 32.86 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/1.105, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/1.105, allocations: 101.7 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.255e-06/1.105, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0004353/1.106, allocations: 121.5 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/1.106, allocations: 55.41 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/1.106, allocations: 123 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/1.106, allocations: 25.7 kB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/1.106, allocations: 100 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/1.106, allocations: 31.8 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/1.106, allocations: 0 / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.106, allocations: 326.8 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.416e-05/1.106, allocations: 16 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/1.106, allocations: 61.84 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.925e-05/1.106, allocations: 39.91 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.107, allocations: 0 / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002866/1.107, allocations: 109.5 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.107, allocations: 7.938 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.107, allocations: 0.8438 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.107, allocations: 4 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/1.107, allocations: 29.36 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.107, allocations: 8.094 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/1.107, allocations: 11.91 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/1.107, allocations: 7.984 kB / 1.105 GB, free: 11.12 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.0001126/1.107, allocations: 116.7 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/1.107, allocations: 7.906 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/1.108, allocations: 150.9 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.108, allocations: 5.219 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.108, allocations: 3.953 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.108, allocations: 0 / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008174/1.109, allocations: 416.5 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.109, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/1.109, allocations: 15.98 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.109, allocations: 4 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/1.109, allocations: 7.312 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.109, allocations: 3.953 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.109, allocations: 1.953 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/1.11, allocations: 237.8 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/1.11, allocations: 84.92 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/1.11, allocations: 4 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/1.11, allocations: 18.98 kB / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/1.11, allocations: 11.94 kB / 1.106 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/1.11, allocations: 8 kB / 1.106 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.957e-05/1.11, allocations: 100.6 kB / 1.106 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.11, allocations: 0 / 1.106 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005002/1.111, allocations: 55.92 kB / 1.106 GB, free: 9.816 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.0005001/1.111, allocations: 171.8 kB / 1.107 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002681/1.111, allocations: 71.92 kB / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.111, allocations: 4 kB / 1.107 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/1.112, allocations: 45.38 kB / 1.107 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/1.112, allocations: 15.8 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/1.112, allocations: 150.8 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/1.113, allocations: 0.708 MB / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.187e-05/1.113, allocations: 4.562 kB / 1.108 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/1.113, allocations: 19.42 kB / 1.108 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/1.113, allocations: 4 kB / 1.108 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of Templates: time 0.007053/1.12, allocations: 1.945 MB / 1.109 GB, free: 6.703 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)