Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.527/2.527, allocations: 284.9 MB / 292.4 MB, free: 10.49 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.001504/0.001504, allocations: 180.8 kB / 360.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001064/0.001064, allocations: 97.28 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.751e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8247/0.8247, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2422/1.067, allocations: 139.4 MB / 1.1 GB, free: 1.023 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/1.067, allocations: 79.95 kB / 1.1 GB, free: 0.9453 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01577/1.083, allocations: 3.218 MB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.363e-06/1.083, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.17e-05/1.083, allocations: 4 kB / 1.103 GB, free: 13.79 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008635/1.084, allocations: 491.1 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.084, allocations: 12.03 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/1.084, allocations: 11.89 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/1.085, allocations: 180.9 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/1.085, allocations: 5.078 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/1.085, allocations: 4 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001668/1.085, allocations: 36.86 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/1.085, allocations: 73.59 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.085, allocations: 2.781 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/1.085, allocations: 0 / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.085, allocations: 0 / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/1.086, allocations: 304.2 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/1.086, allocations: 78.7 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/1.086, allocations: 37 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/1.086, allocations: 3.984 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/1.086, allocations: 93.78 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/1.087, allocations: 0 / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0004441/1.087, allocations: 125.5 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/1.087, allocations: 55.41 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/1.087, allocations: 120 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/1.087, allocations: 29.7 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/1.087, allocations: 100.1 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/1.087, allocations: 23.66 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/1.087, allocations: 0 / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.088, allocations: 322.8 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/1.088, allocations: 20 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/1.088, allocations: 61.14 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.905e-05/1.088, allocations: 31.98 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.088, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003794/1.088, allocations: 121.3 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.088, allocations: 6.156 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.088, allocations: 4 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.088, allocations: 0 / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/1.089, allocations: 19.98 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.089, allocations: 8.031 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/1.089, allocations: 14.98 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/1.089, allocations: 11.95 kB / 1.105 GB, free: 11.21 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001232/1.089, allocations: 114.5 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003624/1.089, allocations: 124.5 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/1.089, allocations: 11.84 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/1.09, allocations: 146.2 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/1.09, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.09, allocations: 3.953 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.09, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000837/1.091, allocations: 416.1 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.091, allocations: 0 / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/1.091, allocations: 15.98 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/1.091, allocations: 4 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/1.091, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.091, allocations: 3.953 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.091, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/1.091, allocations: 220.1 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/1.092, allocations: 96.92 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/1.092, allocations: 1.5 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/1.092, allocations: 15.98 kB / 1.106 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/1.092, allocations: 11.94 kB / 1.106 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/1.092, allocations: 4 kB / 1.106 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.157e-05/1.092, allocations: 100.8 kB / 1.106 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.092, allocations: 0 / 1.106 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005141/1.093, allocations: 55.88 kB / 1.106 GB, free: 9.801 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.001228/1.094, allocations: 0.8268 MB / 1.107 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000313/1.094, allocations: 75.92 kB / 1.107 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.094, allocations: 192 / 1.107 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/1.094, allocations: 44 kB / 1.107 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/1.095, allocations: 13.83 kB / 1.107 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008134/1.095, allocations: 197.7 kB / 1.107 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/1.096, allocations: 0.7002 MB / 1.108 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.845e-05/1.096, allocations: 8.438 kB / 1.108 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.659e-05/1.096, allocations: 31.42 kB / 1.108 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/1.096, allocations: 0 / 1.108 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03932/1.135, allocations: 2.779 MB / 1.111 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000278/1.136, allocations: 189.5 kB / 1.111 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.693, allocations: 2.516 kB / 1.111 GB, free: 4.918 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)