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.642/1.642, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001126/0.001125, allocations: 180.9 kB / 371.8 MB, free: 10.29 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.596/1.596, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0008317/0.0008317, allocations: 98.8 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004227, allocations: 14.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7983/1.016, allocations: 140.2 MB / 1.116 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/1.016, allocations: 84.89 kB / 1.116 GB, free: 16.42 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.008872/1.025, allocations: 3.163 MB / 1.12 GB, free: 31.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.754e-06/1.025, allocations: 0 / 1.12 GB, free: 31.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.025, allocations: 0 / 1.12 GB, free: 31.96 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.0006773/1.026, allocations: 483.1 kB / 1.12 GB, free: 31.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.026, allocations: 7.656 kB / 1.12 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/1.026, allocations: 11.44 kB / 1.12 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/1.026, allocations: 181.6 kB / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.47e-05/1.026, allocations: 32.48 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/1.026, allocations: 7.594 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/1.026, allocations: 82.7 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.026, allocations: 0 / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.026, allocations: 3.875 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/1.026, allocations: 0 / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/1.027, allocations: 53.44 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/1.027, allocations: 342.2 kB / 1.121 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/1.027, allocations: 73.19 kB / 1.121 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/1.027, allocations: 0 / 1.121 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/1.028, allocations: 95.7 kB / 1.121 GB, free: 30.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/1.028, allocations: 0 / 1.121 GB, free: 30.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004217/1.028, allocations: 176.3 kB / 1.121 GB, free: 30.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/1.028, allocations: 55.22 kB / 1.121 GB, free: 30.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/1.028, allocations: 127.1 kB / 1.121 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/1.028, allocations: 29.64 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/1.028, allocations: 98.44 kB / 1.121 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/1.028, allocations: 25.78 kB / 1.121 GB, free: 30.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/1.028, allocations: 0 / 1.121 GB, free: 30.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.028, allocations: 329.1 kB / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.52e-05/1.028, allocations: 28.69 kB / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/1.029, allocations: 73.14 kB / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/1.029, allocations: 42.33 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.029, allocations: 0 / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002581/1.029, allocations: 140.7 kB / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.029, allocations: 7.719 kB / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.029, allocations: 0 / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.029, allocations: 3.844 kB / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/1.029, allocations: 14.72 kB / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.029, allocations: 3.938 kB / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/1.029, allocations: 29.52 kB / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/1.029, allocations: 3.562 kB / 1.122 GB, free: 30.09 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 9.898e-05/1.029, allocations: 125.3 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/1.029, allocations: 7.781 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/1.029, allocations: 11.84 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/1.029, allocations: 3.844 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/1.029, allocations: 0 / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/1.029, allocations: 0 / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006236/1.03, allocations: 440 kB / 1.123 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.03, allocations: 0 / 1.123 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.146e-05/1.03, allocations: 15.03 kB / 1.123 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.03, allocations: 0 / 1.123 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/1.03, allocations: 3.906 kB / 1.123 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.03, allocations: 4 kB / 1.123 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.03, allocations: 8.047 kB / 1.123 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/1.031, allocations: 234.9 kB / 1.123 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/1.031, allocations: 84.67 kB / 1.123 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/1.031, allocations: 6.844 kB / 1.123 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/1.031, allocations: 18.62 kB / 1.123 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/1.031, allocations: 11.08 kB / 1.123 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/1.031, allocations: 6.375 kB / 1.123 GB, free: 29.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.961e-05/1.031, allocations: 101.6 kB / 1.123 GB, free: 29.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.031, allocations: 0 / 1.123 GB, free: 29.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003155/1.031, allocations: 50.19 kB / 1.123 GB, free: 29.3 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.0003728/1.032, allocations: 171.5 kB / 1.123 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000273/1.032, allocations: 94.11 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.032, allocations: 3.875 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/1.032, allocations: 51.67 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/1.032, allocations: 20.14 kB / 1.123 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/1.033, allocations: 232.5 kB / 1.124 GB, free: 29.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.033, allocations: 0.6924 MB / 1.124 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.396e-05/1.033, allocations: 11.56 kB / 1.124 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/1.033, allocations: 18.38 kB / 1.124 GB, free: 28.32 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.033, allocations: 0 / 1.124 GB, free: 28.32 MB / 0.698 GB Notification: Performance of Templates: time 0.003806/1.037, allocations: 1.792 MB / 1.126 GB, free: 28.18 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)