Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.682/2.682, allocations: 285 MB / 292.5 MB, free: 10.46 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.001455/0.001455, allocations: 188.8 kB / 360.7 MB, free: 7.23 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.292/2.292, allocations: 205.3 MB / 0.6192 GB, free: 12.14 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.001029/0.001028, allocations: 97.81 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.905e-05, allocations: 0 / 0.8509 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8489, allocations: 115.3 MB / 0.9634 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2614/1.11, allocations: 139.4 MB / 1.1 GB, free: 1.066 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004283/1.111, allocations: 88.55 kB / 1.1 GB, free: 0.9805 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.01762/1.128, allocations: 3.223 MB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/1.128, allocations: 1.875 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.677e-05/1.128, allocations: 4 kB / 1.103 GB, free: 13.81 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.0008649/1.129, allocations: 485.6 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.129, allocations: 12.03 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/1.129, allocations: 9.469 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/1.13, allocations: 175.9 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/1.13, allocations: 7.984 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/1.13, allocations: 4 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001869/1.13, allocations: 40.83 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/1.13, allocations: 67.09 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.13, allocations: 8.859 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/1.13, allocations: 4 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/1.13, allocations: 0.7188 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007446/1.131, allocations: 305 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/1.131, allocations: 74.72 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/1.131, allocations: 28.86 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/1.131, allocations: 5.969 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/1.132, allocations: 95.95 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.445e-06/1.132, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000486/1.132, allocations: 128.4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/1.132, allocations: 55.41 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/1.132, allocations: 122.3 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/1.132, allocations: 29.64 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/1.133, allocations: 88.14 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/1.133, allocations: 34.31 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/1.133, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.133, allocations: 322.8 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/1.133, allocations: 24 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/1.133, allocations: 58.42 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/1.133, allocations: 31.97 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/1.133, allocations: 3.938 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003068/1.133, allocations: 117.4 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.134, allocations: 4 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.134, allocations: 7.984 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.134, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/1.134, allocations: 19.98 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/1.134, allocations: 7.938 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/1.134, allocations: 8 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/1.134, allocations: 12.03 kB / 1.105 GB, free: 11.24 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.0001204/1.134, allocations: 117.2 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/1.134, allocations: 7.906 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/1.135, allocations: 142.2 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.135, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.135, allocations: 1.125 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.135, allocations: 4.125 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/1.136, allocations: 410.9 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/1.136, allocations: 0 / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/1.136, allocations: 19.92 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.136, allocations: 0 / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/1.136, allocations: 4 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.136, allocations: 3.188 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.136, allocations: 1.688 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/1.136, allocations: 228.8 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/1.136, allocations: 85.02 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/1.136, allocations: 3.984 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/1.137, allocations: 8 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/1.137, allocations: 15.97 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/1.137, allocations: 4 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.242e-05/1.137, allocations: 97.11 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.4e-07/1.137, allocations: 4 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005046/1.137, allocations: 59.81 kB / 1.106 GB, free: 9.961 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 (13): * Single equations (assignments): 10 * 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.0004974/1.138, allocations: 167.2 kB / 1.106 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002812/1.138, allocations: 75.92 kB / 1.106 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.138, allocations: 0 / 1.106 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/1.138, allocations: 51.92 kB / 1.107 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/1.139, allocations: 8.781 kB / 1.107 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/1.139, allocations: 136.5 kB / 1.107 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/1.14, allocations: 0.7043 MB / 1.107 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.653e-05/1.14, allocations: 8.703 kB / 1.107 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/1.14, allocations: 19.44 kB / 1.107 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/1.14, allocations: 0 / 1.107 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of Templates: time 0.007051/1.147, allocations: 1.9 MB / 1.109 GB, free: 6.906 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)