Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.692/3.692, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001948/0.001948, allocations: 180.1 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.041/4.041, allocations: 205.4 MB / 0.5772 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 89.97 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007457/0.0007459, allocations: 15.91 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3128, allocations: 106.3 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3495/0.6624, allocations: 133.9 MB / 1.03 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005346/0.663, allocations: 83.95 kB / 1.03 GB, free: 11.85 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.02926/0.6923, allocations: 3.357 MB / 1.034 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of FrontEnd: time 8.556e-06/0.6923, allocations: 0 / 1.034 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.6924, allocations: 7.938 kB / 1.034 GB, free: 8.48 MB / 0.6823 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.001908/0.6943, allocations: 0.5082 MB / 1.034 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.6944, allocations: 15.91 kB / 1.034 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.6945, allocations: 12.84 kB / 1.034 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.6948, allocations: 170.4 kB / 1.034 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.505e-05/0.6949, allocations: 12.36 kB / 1.034 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.695, allocations: 4.375 kB / 1.034 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.6955, allocations: 90.14 kB / 1.034 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.6955, allocations: 192 / 1.034 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.6956, allocations: 3.938 kB / 1.034 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.6956, allocations: 0 / 1.034 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.696, allocations: 55.95 kB / 1.034 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.6973, allocations: 328.7 kB / 1.035 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006065/0.6979, allocations: 90.64 kB / 1.035 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.6983, allocations: 44.81 kB / 1.035 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-05/0.6983, allocations: 8 kB / 1.035 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/0.6988, allocations: 95.36 kB / 1.035 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 4.829e-06/0.6989, allocations: 0 / 1.035 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001119/0.7, allocations: 185.4 kB / 1.035 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.7001, allocations: 55.41 kB / 1.035 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.7004, allocations: 145.6 kB / 1.035 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.7005, allocations: 29.7 kB / 1.035 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.7006, allocations: 100 kB / 1.035 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.7007, allocations: 19.72 kB / 1.035 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.7008, allocations: 4 kB / 1.035 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.701, allocations: 322.8 kB / 1.036 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.7013, allocations: 27.98 kB / 1.036 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.7016, allocations: 74.39 kB / 1.036 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.7019, allocations: 47.84 kB / 1.036 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.7019, allocations: 0 / 1.036 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007574/0.7027, allocations: 141.4 kB / 1.036 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.7028, allocations: 8 kB / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.7028, allocations: 0 / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.7029, allocations: 4 kB / 1.036 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.7032, allocations: 15.98 kB / 1.036 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.7032, allocations: 4 kB / 1.036 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.7036, allocations: 27.92 kB / 1.036 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.7036, allocations: 4 kB / 1.036 GB, free: 5.613 MB / 0.6823 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 () * Number of clocked 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.0002627/0.7039, allocations: 137.6 kB / 1.036 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.704, allocations: 7.906 kB / 1.036 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009632/0.705, allocations: 170.3 kB / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.7051, allocations: 8 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.7051, allocations: 11.88 kB / 1.036 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.7051, allocations: 0 / 1.036 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.7068, allocations: 462.3 kB / 1.037 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7069, allocations: 0 / 1.037 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.7071, allocations: 23.92 kB / 1.037 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.7071, allocations: 4 kB / 1.037 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.7072, allocations: 4 kB / 1.037 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.7072, allocations: 0 / 1.037 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7072, allocations: 0 / 1.037 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008307/0.7081, allocations: 248.3 kB / 1.037 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.7082, allocations: 100.8 kB / 1.037 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.7083, allocations: 0 / 1.037 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.7086, allocations: 15.98 kB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.314e-05/0.7087, allocations: 11.92 kB / 1.037 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.7088, allocations: 4 kB / 1.037 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001594/0.709, allocations: 108.8 kB / 1.037 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/0.709, allocations: 0 / 1.037 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008567/0.7098, allocations: 59.94 kB / 1.037 GB, free: 4.16 MB / 0.6823 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) * Number of clocked states: 0 () * 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.0007822/0.7107, allocations: 172.8 kB / 1.038 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006987/0.7114, allocations: 100.8 kB / 1.038 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.7114, allocations: 4 kB / 1.038 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.7118, allocations: 63.86 kB / 1.038 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.7125, allocations: 15.25 kB / 1.038 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.7137, allocations: 274.3 kB / 1.038 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.7142, allocations: 0.7042 MB / 1.039 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.7144, allocations: 12.56 kB / 1.039 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.7145, allocations: 19.42 kB / 1.039 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/0.7146, allocations: 0 / 1.039 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of Templates: time 0.01166/0.7262, allocations: 1.992 MB / 1.041 GB, free: 0.7773 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)