Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.826/2.826, allocations: 285 MB / 292.5 MB, free: 10.5 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.001401/0.001401, 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.358/2.358, allocations: 205.2 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.001071/0.001071, allocations: 92.3 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.77e-05/1.772e-05, allocations: 0 / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8669/0.8669, allocations: 115.2 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2661/1.133, allocations: 139.3 MB / 1.1 GB, free: 1.156 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/1.133, allocations: 84.11 kB / 1.1 GB, free: 1.078 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.01522/1.149, allocations: 3.138 MB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/1.149, allocations: 0.625 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.994e-06/1.149, allocations: 0 / 1.103 GB, free: 13.99 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.0008502/1.15, allocations: 458.9 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.15, allocations: 12.72 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/1.15, allocations: 7.906 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/1.15, allocations: 177 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.15, allocations: 5.344 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/1.15, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001518/1.15, allocations: 31.98 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/1.15, allocations: 66.11 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.15, allocations: 0 / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.15, allocations: 0.9688 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.15, allocations: 0 / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007864/1.151, allocations: 312.4 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/1.151, allocations: 55.44 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.854e-05/1.152, allocations: 28.95 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/1.152, allocations: 7.219 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/1.152, allocations: 83.36 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.933e-06/1.152, allocations: 3.5 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004032/1.152, allocations: 105.5 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/1.152, allocations: 59.41 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/1.152, allocations: 109.6 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/1.152, allocations: 34.95 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/1.153, allocations: 92.27 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/1.153, allocations: 15.81 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/1.153, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.153, allocations: 329.2 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.908e-05/1.153, allocations: 24 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/1.153, allocations: 57.89 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/1.153, allocations: 35.91 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.153, allocations: 0 / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002851/1.153, allocations: 109.4 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.153, allocations: 4 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.153, allocations: 4.125 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.153, allocations: 4 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/1.154, allocations: 19.92 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.154, allocations: 7.094 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/1.154, allocations: 11.98 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/1.154, allocations: 4 kB / 1.105 GB, free: 11.55 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.0001194/1.154, allocations: 120.7 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/1.154, allocations: 11.91 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/1.154, allocations: 126.1 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/1.155, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.155, allocations: 3.562 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/1.155, allocations: 3.984 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007472/1.155, allocations: 391 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.155, allocations: 4 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/1.155, allocations: 8 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.155, allocations: 0 / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/1.156, allocations: 3.984 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.156, allocations: 4 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.156, allocations: 0 / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/1.156, allocations: 217.5 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/1.156, allocations: 85.02 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/1.156, allocations: 4 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/1.156, allocations: 15.98 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/1.156, allocations: 7.984 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/1.156, allocations: 4 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.402e-05/1.156, allocations: 97.89 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.156, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004996/1.157, allocations: 47.94 kB / 1.106 GB, free: 10.34 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.0005087/1.157, allocations: 171.7 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002425/1.158, allocations: 73.53 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.158, allocations: 0 / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/1.158, allocations: 43.92 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/1.158, allocations: 12.25 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/1.159, allocations: 120.3 kB / 1.106 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/1.159, allocations: 0.6924 MB / 1.107 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.969e-05/1.159, allocations: 16.42 kB / 1.107 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/1.159, allocations: 11.44 kB / 1.107 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of SimCode: time 7.82e-07/1.159, allocations: 0 / 1.107 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of Templates: time 0.008046/1.167, allocations: 1.776 MB / 1.109 GB, free: 7.441 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)