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.702/1.702, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001025/0.001025, allocations: 177.9 kB / 377.1 MB, free: 1.539 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.809/1.809, allocations: 205.4 MB / 0.6366 GB, free: 8.57 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.001042/0.001042, allocations: 81.42 kB / 0.7509 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004523, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3581, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9129/1.271, allocations: 141.3 MB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/1.271, allocations: 88.17 kB / 1.126 GB, free: 33.77 MB / 0.7292 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.009784/1.281, allocations: 3.26 MB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.036e-06/1.281, allocations: 0.5625 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.318e-05/1.281, allocations: 0 / 1.13 GB, free: 31.43 MB / 0.7292 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.0007544/1.282, allocations: 0.5067 MB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/1.282, allocations: 12.02 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.82e-05/1.282, allocations: 34.56 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/1.282, allocations: 9.969 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/1.282, allocations: 175.2 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/1.283, allocations: 3.438 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/1.283, allocations: 12 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/1.283, allocations: 81.19 kB / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.283, allocations: 4 kB / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/1.283, allocations: 4 kB / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.283, allocations: 0 / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/1.283, allocations: 51.08 kB / 1.131 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/1.284, allocations: 339.1 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/1.284, allocations: 83.14 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/1.284, allocations: 4.141 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/1.284, allocations: 108.7 kB / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.505e-06/1.284, allocations: 96 / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0004483/1.285, allocations: 178.6 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/1.285, allocations: 55.41 kB / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/1.285, allocations: 125.3 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/1.285, allocations: 29.7 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/1.285, allocations: 96.22 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/1.285, allocations: 23.09 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/1.285, allocations: 8 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.21e-05/1.285, allocations: 318.3 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/1.285, allocations: 31.47 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.494e-05/1.285, allocations: 80.81 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.505e-05/1.285, allocations: 37.16 kB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.285, allocations: 4.844 kB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002353/1.286, allocations: 143.2 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.286, allocations: 4 kB / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.286, allocations: 4 kB / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.286, allocations: 0 / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/1.286, allocations: 19.97 kB / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.286, allocations: 12.25 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/1.286, allocations: 11.95 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/1.286, allocations: 11.38 kB / 1.132 GB, free: 28.79 MB / 0.7292 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 () * Number of clocked 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 9.303e-05/1.286, allocations: 124.4 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/1.286, allocations: 8.469 kB / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/1.286, allocations: 163 kB / 1.132 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.286, allocations: 4 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.286, allocations: 0 / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.286, allocations: 0 / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/1.287, allocations: 467.8 kB / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.287, allocations: 0 / 1.133 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/1.287, allocations: 8 kB / 1.133 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.287, allocations: 4 kB / 1.133 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/1.287, allocations: 3.828 kB / 1.133 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.287, allocations: 4.656 kB / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.287, allocations: 3.953 kB / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/1.287, allocations: 242.4 kB / 1.133 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/1.288, allocations: 94.58 kB / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/1.288, allocations: 0 / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/1.288, allocations: 19.42 kB / 1.133 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/1.288, allocations: 15.31 kB / 1.133 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/1.288, allocations: 8.453 kB / 1.133 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.289e-05/1.288, allocations: 101.1 kB / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.288, allocations: 0 / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003343/1.288, allocations: 59.36 kB / 1.133 GB, free: 27.5 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0007997/1.289, allocations: 0.8386 MB / 1.134 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002512/1.289, allocations: 107.5 kB / 1.134 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.289, allocations: 0 / 1.134 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/1.289, allocations: 54.94 kB / 1.134 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/1.29, allocations: 16.38 kB / 1.134 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/1.291, allocations: 1.254 MB / 1.136 GB, free: 25.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/1.291, allocations: 0.7032 MB / 1.136 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.114e-05/1.291, allocations: 8.797 kB / 1.136 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/1.291, allocations: 34.91 kB / 1.136 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/1.291, allocations: 0 / 1.136 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/1.31, allocations: 3.086 MB / 1.139 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/1.31, allocations: 229 kB / 1.14 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/3.066, allocations: 0 / 1.14 GB, free: 22.55 MB / 0.7292 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)