Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.734/1.734, allocations: 285.4 MB / 298 MB, free: 5.953 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.001264/0.001264, allocations: 180.9 kB / 366.4 MB, free: 2.07 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.716/1.716, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008194/0.0008194, allocations: 95.98 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.788e-05, allocations: 0 / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7706/0.7707, allocations: 115.3 MB / 0.971 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.9726, allocations: 140.2 MB / 1.108 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.9729, allocations: 83.94 kB / 1.108 GB, free: 11.52 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.01016/0.9831, allocations: 3.15 MB / 1.111 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.9831, allocations: 2.438 kB / 1.111 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.9831, allocations: 4 kB / 1.111 GB, free: 8.395 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00064/0.9838, allocations: 456 kB / 1.111 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.9838, allocations: 8.031 kB / 1.111 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.9839, allocations: 37.41 kB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.9839, allocations: 13.08 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.9841, allocations: 173.7 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.9841, allocations: 7.938 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.9842, allocations: 4.531 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.9843, allocations: 70.5 kB / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.9843, allocations: 0 / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.9843, allocations: 0 / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.9844, allocations: 6.109 kB / 1.112 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.9845, allocations: 31.98 kB / 1.112 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.9851, allocations: 344.8 kB / 1.112 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.9852, allocations: 54.56 kB / 1.112 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.9853, allocations: 32.86 kB / 1.112 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.9853, allocations: 0 / 1.112 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.9855, allocations: 91.16 kB / 1.112 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.9855, allocations: 0 / 1.112 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002666/0.9858, allocations: 119.8 kB / 1.112 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.9858, allocations: 55.36 kB / 1.112 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.9859, allocations: 120.9 kB / 1.113 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.986, allocations: 29.7 kB / 1.113 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.986, allocations: 100.3 kB / 1.113 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.9861, allocations: 15.81 kB / 1.113 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.9861, allocations: 4 kB / 1.113 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.9862, allocations: 318.8 kB / 1.113 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.9862, allocations: 20 kB / 1.113 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.9863, allocations: 62.64 kB / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.887e-05/0.9864, allocations: 27.98 kB / 1.113 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9864, allocations: 0 / 1.113 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001789/0.9866, allocations: 125.3 kB / 1.113 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.9866, allocations: 8.922 kB / 1.113 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9866, allocations: 0 / 1.113 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9866, allocations: 4.125 kB / 1.113 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.9867, allocations: 19.98 kB / 1.113 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.9867, allocations: 0 / 1.113 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.9868, allocations: 19.95 kB / 1.113 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.9869, allocations: 13.61 kB / 1.113 GB, free: 5.82 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete 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 7.753e-05/0.987, allocations: 114.3 kB / 1.113 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.987, allocations: 7.906 kB / 1.113 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.9872, allocations: 142.1 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.9873, allocations: 0 / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.9873, allocations: 0 / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9873, allocations: 0 / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.9878, allocations: 422.5 kB / 1.114 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9878, allocations: 0 / 1.114 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.9879, allocations: 19.98 kB / 1.114 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.9879, allocations: 0 / 1.114 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.988, allocations: 3.938 kB / 1.114 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.988, allocations: 0 / 1.114 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.988, allocations: 3.953 kB / 1.114 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.9882, allocations: 220.4 kB / 1.114 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.9883, allocations: 85 kB / 1.114 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.9883, allocations: 5.781 kB / 1.114 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.9884, allocations: 15.98 kB / 1.114 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.9885, allocations: 15.94 kB / 1.114 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.9885, allocations: 7.984 kB / 1.114 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.9886, allocations: 95.28 kB / 1.114 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9886, allocations: 0 / 1.114 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003268/0.9889, allocations: 55.92 kB / 1.114 GB, free: 4.535 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.000779/0.9897, allocations: 0.8188 MB / 1.115 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001756/0.9899, allocations: 71.92 kB / 1.115 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9899, allocations: 256 / 1.115 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.99, allocations: 51.88 kB / 1.115 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.9902, allocations: 12.5 kB / 1.115 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.9907, allocations: 181.3 kB / 1.116 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.991, allocations: 0.7082 MB / 1.116 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.023e-05/0.991, allocations: 14.11 kB / 1.116 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.9911, allocations: 31.42 kB / 1.116 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.9911, allocations: 0 / 1.116 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/1.008, allocations: 2.924 MB / 1.119 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/1.008, allocations: 220.3 kB / 1.119 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.706, allocations: 64 / 1.119 GB, free: 15.63 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)