Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 289.7 MB / 302.2 MB, free: 2.207 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.001018/0.001018, allocations: 184.9 kB / 371.6 MB, free: 3.363 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.634/1.634, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001058/0.001058, allocations: 88 kB / 0.745 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.451e-05/4.453e-05, allocations: 0 / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3116, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9684/1.28, allocations: 141.2 MB / 1.118 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.28, allocations: 80.97 kB / 1.118 GB, free: 42.94 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.00965/1.29, allocations: 3.235 MB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.414e-06/1.29, allocations: 0 / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.29, allocations: 4 kB / 1.121 GB, free: 41.07 MB / 0.7448 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.0007057/1.291, allocations: 495.8 kB / 1.121 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/1.291, allocations: 8.031 kB / 1.121 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.854e-05/1.291, allocations: 36.02 kB / 1.122 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/1.291, allocations: 10.41 kB / 1.122 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/1.291, allocations: 186.7 kB / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/1.291, allocations: 4 kB / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/1.291, allocations: 7.875 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/1.292, allocations: 75.95 kB / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.292, allocations: 0 / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/1.292, allocations: 3.938 kB / 1.122 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/1.292, allocations: 4.562 kB / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/1.292, allocations: 39.41 kB / 1.122 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006173/1.292, allocations: 323.6 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/1.293, allocations: 85.3 kB / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/1.293, allocations: 35.73 kB / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/1.293, allocations: 6.25 kB / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/1.293, allocations: 96.91 kB / 1.122 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/1.293, allocations: 0 / 1.122 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0003013/1.293, allocations: 132.1 kB / 1.122 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/1.293, allocations: 58.83 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/1.293, allocations: 129.5 kB / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/1.293, allocations: 25.7 kB / 1.123 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/1.293, allocations: 91.77 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/1.293, allocations: 27 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-06/1.293, allocations: 3.688 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.894e-05/1.294, allocations: 322.2 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.435e-05/1.294, allocations: 27.81 kB / 1.123 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/1.294, allocations: 69.25 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.646e-05/1.294, allocations: 33.16 kB / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.294, allocations: 0 / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001942/1.294, allocations: 125.3 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.294, allocations: 8 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.294, allocations: 4.094 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.294, allocations: 4 kB / 1.123 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/1.294, allocations: 15.98 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/1.294, allocations: 4.656 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/1.294, allocations: 19.94 kB / 1.123 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/1.294, allocations: 7.875 kB / 1.123 GB, free: 38.73 MB / 0.7448 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 8.52e-05/1.294, allocations: 122.4 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/1.294, allocations: 11.69 kB / 1.124 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/1.295, allocations: 146.2 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.295, allocations: 4.969 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.295, allocations: 0.6562 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.295, allocations: 0 / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/1.295, allocations: 445.2 kB / 1.124 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.295, allocations: 0 / 1.124 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/1.295, allocations: 19.36 kB / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.295, allocations: 0 / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/1.296, allocations: 7.875 kB / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/1.296, allocations: 5.453 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.296, allocations: 0 / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/1.296, allocations: 229.7 kB / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/1.296, allocations: 85.02 kB / 1.124 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/1.296, allocations: 4 kB / 1.124 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/1.296, allocations: 15.41 kB / 1.124 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/1.296, allocations: 16.11 kB / 1.124 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/1.296, allocations: 4.5 kB / 1.124 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.198e-05/1.296, allocations: 102.3 kB / 1.125 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.003e-06/1.296, allocations: 4 kB / 1.125 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003483/1.297, allocations: 55.75 kB / 1.125 GB, free: 37.61 MB / 0.7448 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.0008654/1.297, allocations: 0.8331 MB / 1.125 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002389/1.298, allocations: 87.44 kB / 1.126 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.298, allocations: 0 / 1.126 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.694e-05/1.298, allocations: 48 kB / 1.126 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/1.298, allocations: 18.69 kB / 1.126 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/1.299, allocations: 196.6 kB / 1.126 GB, free: 36.53 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/1.299, allocations: 0.707 MB / 1.126 GB, free: 35.81 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.231e-05/1.299, allocations: 8.609 kB / 1.126 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/1.299, allocations: 34.14 kB / 1.127 GB, free: 35.79 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/1.299, allocations: 0 / 1.127 GB, free: 35.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/1.315, allocations: 3.137 MB / 1.13 GB, free: 34.06 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/1.315, allocations: 211.2 kB / 1.13 GB, free: 33.83 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/3.112, allocations: 0 / 1.13 GB, free: 33.83 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)