Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 285.4 MB / 298 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002314/0.002315, allocations: 168.9 kB / 366.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.1 MB / 0.6248 GB, free: 7.715 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007788/0.0007786, allocations: 102.2 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.097e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7178, allocations: 115.3 MB / 0.9709 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/0.9216, allocations: 140.3 MB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.9219, allocations: 84.97 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.009774/0.9317, allocations: 3.311 MB / 1.111 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9318, allocations: 4.906 kB / 1.111 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9318, allocations: 0 / 1.111 GB, free: 8.141 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.0006184/0.9324, allocations: 491.1 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.9324, allocations: 16.02 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.9325, allocations: 18.19 kB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.9327, allocations: 179 kB / 1.112 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.9327, allocations: 0 / 1.112 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.9327, allocations: 4 kB / 1.112 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.9329, allocations: 77.66 kB / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.9329, allocations: 0.9688 kB / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.933, allocations: 3.984 kB / 1.112 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.933, allocations: 0.75 kB / 1.112 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.9331, allocations: 45.08 kB / 1.112 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.9337, allocations: 336.6 kB / 1.112 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.9338, allocations: 78.7 kB / 1.112 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/0.9339, allocations: 32.86 kB / 1.112 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.934, allocations: 0 / 1.112 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.9341, allocations: 104.4 kB / 1.113 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.9342, allocations: 6.438 kB / 1.113 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002946/0.9345, allocations: 129.5 kB / 1.113 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.9345, allocations: 55.41 kB / 1.113 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.9346, allocations: 127 kB / 1.113 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.9347, allocations: 29.7 kB / 1.113 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.9347, allocations: 102.9 kB / 1.113 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.9348, allocations: 27.8 kB / 1.113 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.9348, allocations: 4 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.9349, allocations: 322.8 kB / 1.113 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.469e-05/0.935, allocations: 23.98 kB / 1.113 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.9351, allocations: 65.09 kB / 1.113 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.41e-05/0.9351, allocations: 31.97 kB / 1.113 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9351, allocations: 0 / 1.113 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002196/0.9354, allocations: 125.4 kB / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.9354, allocations: 8.094 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.9354, allocations: 3.938 kB / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.9354, allocations: 7.953 kB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.9355, allocations: 19.98 kB / 1.114 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.9356, allocations: 6.969 kB / 1.114 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.651e-05/0.9357, allocations: 15.89 kB / 1.114 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.9357, allocations: 4 kB / 1.114 GB, free: 5.465 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 8.574e-05/0.9358, allocations: 116.9 kB / 1.114 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.9358, allocations: 11.91 kB / 1.114 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.9361, allocations: 162.2 kB / 1.114 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.9361, allocations: 4 kB / 1.114 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9361, allocations: 3.953 kB / 1.114 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.9362, allocations: 1.781 kB / 1.114 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005442/0.9367, allocations: 452.7 kB / 1.114 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9367, allocations: 4 kB / 1.114 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.9368, allocations: 15.86 kB / 1.114 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.9368, allocations: 7.953 kB / 1.114 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.9368, allocations: 7.938 kB / 1.114 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9368, allocations: 0 / 1.114 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9369, allocations: 3.984 kB / 1.114 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.9371, allocations: 235.4 kB / 1.115 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.9372, allocations: 89.06 kB / 1.115 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.9372, allocations: 7.938 kB / 1.115 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.9373, allocations: 15.98 kB / 1.115 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.9374, allocations: 11.98 kB / 1.115 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.9374, allocations: 7.984 kB / 1.115 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.718e-05/0.9375, allocations: 103.1 kB / 1.115 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9375, allocations: 0 / 1.115 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003323/0.9378, allocations: 67.92 kB / 1.115 GB, free: 4.074 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.0003686/0.9382, allocations: 171.1 kB / 1.115 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.9384, allocations: 79.92 kB / 1.115 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9384, allocations: 0 / 1.115 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.556e-05/0.9385, allocations: 60.11 kB / 1.115 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.9387, allocations: 15.98 kB / 1.115 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.9391, allocations: 140.7 kB / 1.115 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.9393, allocations: 0.7082 MB / 1.116 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.38e-05/0.9394, allocations: 12.55 kB / 1.116 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.9395, allocations: 15.44 kB / 1.116 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.9395, allocations: 0 / 1.116 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of Templates: time 0.00455/0.944, allocations: 2.005 MB / 1.118 GB, free: 0.8906 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)