Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.593/1.593, allocations: 288.4 MB / 304.3 MB, free: 8.141 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.0009396/0.0009396, allocations: 176.5 kB / 372.9 MB, free: 10.17 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.529/1.529, allocations: 205.4 MB / 0.6317 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007861/0.0007859, allocations: 86.25 kB / 0.745 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 11.34 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.193, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6113/0.8043, allocations: 140.2 MB / 1.118 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.8046, allocations: 84.89 kB / 1.118 GB, free: 16.43 MB / 0.6823 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.008322/0.8129, allocations: 3.171 MB / 1.121 GB, free: 31.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8129, allocations: 0 / 1.121 GB, free: 31.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8129, allocations: 0 / 1.121 GB, free: 31.97 MB / 0.698 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.0005596/0.8135, allocations: 483 kB / 1.121 GB, free: 31.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.8135, allocations: 11.5 kB / 1.121 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.8136, allocations: 8.625 kB / 1.121 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.8137, allocations: 179.1 kB / 1.122 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.696e-05/0.8138, allocations: 34.08 kB / 1.122 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.8138, allocations: 8.188 kB / 1.122 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.814, allocations: 86.98 kB / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.814, allocations: 3.938 kB / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.814, allocations: 3.984 kB / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.814, allocations: 0 / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.8142, allocations: 51.73 kB / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.8148, allocations: 339.1 kB / 1.122 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.8149, allocations: 71.36 kB / 1.122 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.998e-05/0.8151, allocations: 48.81 kB / 1.122 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.8151, allocations: 0 / 1.122 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.8153, allocations: 98.75 kB / 1.122 GB, free: 30.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.8153, allocations: 0 / 1.122 GB, free: 30.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004157/0.8157, allocations: 172.3 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.8158, allocations: 65 kB / 1.122 GB, free: 30.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.8159, allocations: 128.1 kB / 1.123 GB, free: 30.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.8159, allocations: 28.89 kB / 1.123 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.816, allocations: 102.3 kB / 1.123 GB, free: 30.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.816, allocations: 26.03 kB / 1.123 GB, free: 30.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-06/0.816, allocations: 0 / 1.123 GB, free: 30.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.8161, allocations: 327.7 kB / 1.123 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.356e-05/0.8162, allocations: 32.61 kB / 1.123 GB, free: 30.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.8163, allocations: 71.47 kB / 1.123 GB, free: 30.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.8165, allocations: 106.8 kB / 1.123 GB, free: 30.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8165, allocations: 3.688 kB / 1.123 GB, free: 30.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002506/0.8168, allocations: 136.9 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.8168, allocations: 7.625 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.8168, allocations: 3.938 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.8168, allocations: 6.719 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.8169, allocations: 22.81 kB / 1.123 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.817, allocations: 0 / 1.123 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-05/0.8171, allocations: 18.06 kB / 1.123 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.8171, allocations: 6.797 kB / 1.123 GB, free: 30.03 MB / 0.698 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 8.279e-05/0.8172, allocations: 128.7 kB / 1.124 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.8172, allocations: 7.875 kB / 1.124 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.8172, allocations: 12.09 kB / 1.124 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8172, allocations: 7.281 kB / 1.124 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.8172, allocations: 0 / 1.124 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8172, allocations: 0 / 1.124 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.8178, allocations: 431.6 kB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8178, allocations: 0 / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.794e-05/0.8178, allocations: 14.34 kB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.8179, allocations: 3.984 kB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.8179, allocations: 6.781 kB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8179, allocations: 4 kB / 1.124 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8179, allocations: 4.406 kB / 1.124 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.8182, allocations: 238.3 kB / 1.124 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.8182, allocations: 84.89 kB / 1.124 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.8182, allocations: 3.281 kB / 1.124 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.8184, allocations: 13.81 kB / 1.124 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.8184, allocations: 17.75 kB / 1.124 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.8185, allocations: 7.938 kB / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.059e-05/0.8185, allocations: 104.2 kB / 1.124 GB, free: 29.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8185, allocations: 0 / 1.124 GB, free: 29.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002718/0.8188, allocations: 53.5 kB / 1.125 GB, free: 29.23 MB / 0.698 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.0002817/0.8191, allocations: 166.3 kB / 1.125 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.8194, allocations: 89.67 kB / 1.125 GB, free: 29.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8194, allocations: 0 / 1.125 GB, free: 29.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.8195, allocations: 51.75 kB / 1.125 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.8198, allocations: 26.36 kB / 1.125 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.8202, allocations: 226.7 kB / 1.125 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.8204, allocations: 0.6998 MB / 1.126 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.958e-05/0.8205, allocations: 11.11 kB / 1.126 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.8205, allocations: 11.31 kB / 1.126 GB, free: 28.26 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.8205, allocations: 0 / 1.126 GB, free: 28.26 MB / 0.698 GB Notification: Performance of Templates: time 0.003726/0.8243, allocations: 1.807 MB / 1.128 GB, free: 28.11 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)