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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.649/1.649, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001202/0.001202, allocations: 180.8 kB / 361.4 MB, free: 6.867 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.518/1.518, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.000815/0.0008149, allocations: 86.98 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.227e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7324/0.7325, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/0.9486, allocations: 139.5 MB / 1.101 GB, free: 272 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.9489, allocations: 83.94 kB / 1.101 GB, free: 188 kB / 0.698 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.01029/0.9593, allocations: 3.122 MB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9593, allocations: 0 / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.9593, allocations: 4.562 kB / 1.104 GB, free: 13.12 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.000734/0.9601, allocations: 467.5 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.9601, allocations: 12.56 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.9602, allocations: 9.438 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.9604, allocations: 182.8 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.308e-05/0.9605, allocations: 36.08 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.9605, allocations: 4 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001101/0.9606, allocations: 27.98 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.9608, allocations: 73.78 kB / 1.105 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.9608, allocations: 0 / 1.105 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.9608, allocations: 4.516 kB / 1.105 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-06/0.9608, allocations: 0.5938 kB / 1.105 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.9615, allocations: 300.2 kB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.9616, allocations: 59.53 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.9617, allocations: 28.95 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.9617, allocations: 7.906 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.9619, allocations: 87.36 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.9619, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002965/0.9622, allocations: 105.5 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.9622, allocations: 55.39 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.9624, allocations: 121.2 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.9624, allocations: 31.39 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.9625, allocations: 88.31 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.9625, allocations: 27.84 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-06/0.9625, allocations: 0 / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.9626, allocations: 326.8 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.9627, allocations: 23.98 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.9628, allocations: 63.69 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/0.9629, allocations: 23.92 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9629, allocations: 4 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001779/0.9631, allocations: 105.5 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.9631, allocations: 5.25 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.9631, allocations: 4 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.9631, allocations: 0 / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.9633, allocations: 22.86 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.9633, allocations: 4 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.9634, allocations: 20.05 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.9634, allocations: 4 kB / 1.106 GB, free: 10.62 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 9.95e-05/0.9635, allocations: 120.9 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001981/0.9637, allocations: 101.6 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.9638, allocations: 9.312 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.9638, allocations: 12.62 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.9638, allocations: 3.984 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.9638, allocations: 4 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.9638, allocations: 7.953 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.9643, allocations: 378.9 kB / 1.107 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.9643, allocations: 0 / 1.107 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.9644, allocations: 7.984 kB / 1.107 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9644, allocations: 4 kB / 1.107 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.9645, allocations: 8.922 kB / 1.107 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9645, allocations: 0 / 1.107 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.9645, allocations: 3.953 kB / 1.107 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.9647, allocations: 205 kB / 1.107 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.9648, allocations: 85.02 kB / 1.107 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.9648, allocations: 0 / 1.107 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.965, allocations: 11.98 kB / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.965, allocations: 19.94 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.9651, allocations: 6.422 kB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.9651, allocations: 101.6 kB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9651, allocations: 0 / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003743/0.9655, allocations: 51.92 kB / 1.107 GB, free: 9.41 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 (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.0008748/0.9664, allocations: 0.8132 MB / 1.108 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001853/0.9666, allocations: 68.89 kB / 1.108 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.9666, allocations: 0 / 1.108 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.351e-05/0.9667, allocations: 32 kB / 1.108 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.967, allocations: 19.05 kB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005743/0.9675, allocations: 180.2 kB / 1.108 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.9678, allocations: 0.6924 MB / 1.109 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.294e-05/0.9679, allocations: 12.66 kB / 1.109 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.968, allocations: 27.42 kB / 1.109 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.968, allocations: 0 / 1.109 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.9913, allocations: 2.587 MB / 1.111 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/0.9916, allocations: 191.6 kB / 1.112 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.634, allocations: 0 / 1.112 GB, free: 4.789 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)