Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.741/3.741, allocations: 251.1 MB / 266.7 MB, free: 11.53 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.002368/0.002368, allocations: 176.5 kB / 326.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.868/3.868, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001442/0.001442, allocations: 105.1 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007462/0.0007464, allocations: 10.06 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2907, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3324/0.6232, allocations: 133.7 MB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005149/0.6238, allocations: 91.94 kB / 1.03 GB, free: 11.53 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.02415/0.648, allocations: 3.161 MB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.647e-06/0.648, allocations: 0 / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.6481, allocations: 4 kB / 1.033 GB, free: 8.352 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001375/0.6495, allocations: 488.5 kB / 1.034 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/0.6495, allocations: 8.031 kB / 1.034 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.6496, allocations: 8.844 kB / 1.034 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.6499, allocations: 177.2 kB / 1.034 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.6501, allocations: 42.27 kB / 1.034 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.6502, allocations: 4.375 kB / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.6506, allocations: 82.2 kB / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.6507, allocations: 3.938 kB / 1.034 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.6507, allocations: 3.938 kB / 1.034 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.6508, allocations: 3.984 kB / 1.034 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.6513, allocations: 55.89 kB / 1.034 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.6525, allocations: 340.7 kB / 1.034 GB, free: 7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.6531, allocations: 70.55 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.6534, allocations: 44.83 kB / 1.035 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.6535, allocations: 4.031 kB / 1.035 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/0.654, allocations: 95.5 kB / 1.035 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 4.589e-06/0.654, allocations: 0 / 1.035 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.001173/0.6552, allocations: 181.4 kB / 1.035 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.6553, allocations: 51.41 kB / 1.035 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.6555, allocations: 132.2 kB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.6556, allocations: 29.7 kB / 1.035 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.6557, allocations: 104.3 kB / 1.035 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.6558, allocations: 15.75 kB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.6558, allocations: 4 kB / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.656, allocations: 326.8 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.6563, allocations: 27.98 kB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.6566, allocations: 81.06 kB / 1.036 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.657, allocations: 31.98 kB / 1.036 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.657, allocations: 3.984 kB / 1.036 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007947/0.6578, allocations: 145.3 kB / 1.036 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.6579, allocations: 4 kB / 1.036 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6579, allocations: 4 kB / 1.036 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.6579, allocations: 0 / 1.036 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.6583, allocations: 19.92 kB / 1.036 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.6583, allocations: 4 kB / 1.036 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.6586, allocations: 20.11 kB / 1.036 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.6587, allocations: 8 kB / 1.036 GB, free: 5.52 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0002125/0.6589, allocations: 121.8 kB / 1.036 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.659, allocations: 7.906 kB / 1.036 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.659, allocations: 12.72 kB / 1.036 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.6591, allocations: 0 / 1.036 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6591, allocations: 0 / 1.036 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.6591, allocations: 4 kB / 1.036 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.6606, allocations: 434.3 kB / 1.036 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6607, allocations: 8.406 kB / 1.036 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.6609, allocations: 11.98 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.6609, allocations: 4 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.6609, allocations: 4 kB / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.661, allocations: 0 / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.661, allocations: 7.875 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008327/0.6618, allocations: 235.3 kB / 1.037 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.551e-05/0.662, allocations: 88.95 kB / 1.037 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.662, allocations: 96 / 1.037 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.6624, allocations: 11.98 kB / 1.037 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.6625, allocations: 19.91 kB / 1.037 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.6626, allocations: 11.98 kB / 1.037 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001375/0.6628, allocations: 99.27 kB / 1.037 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.92e-07/0.6628, allocations: 0 / 1.037 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008112/0.6636, allocations: 51.91 kB / 1.037 GB, free: 4.312 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0007289/0.6644, allocations: 176.7 kB / 1.037 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007788/0.6652, allocations: 92.05 kB / 1.037 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6652, allocations: 3.938 kB / 1.037 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.6656, allocations: 51.91 kB / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.6663, allocations: 11.98 kB / 1.037 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.6674, allocations: 231.2 kB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.6678, allocations: 0.6965 MB / 1.038 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001593/0.668, allocations: 12.67 kB / 1.038 GB, free: 3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/0.6681, allocations: 11.44 kB / 1.038 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of SimCode: time 1.954e-06/0.6681, allocations: 0 / 1.038 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of Templates: time 0.0103/0.6785, allocations: 1.794 MB / 1.04 GB, free: 1.203 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)