Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.56/2.56, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001497/0.001497, allocations: 188.8 kB / 360.6 MB, free: 7.305 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.145/2.145, 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.001112/0.001112, allocations: 83.48 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.592e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8358, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2446/1.08, allocations: 139.1 MB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/1.081, allocations: 77.36 kB / 1.099 GB, free: 1.363 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.01405/1.095, allocations: 2.961 MB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.493e-06/1.095, allocations: 0 / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.095, allocations: 0.75 kB / 1.102 GB, free: 14.45 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006731/1.096, allocations: 418.4 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.096, allocations: 8.719 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/1.096, allocations: 14.84 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/1.096, allocations: 171.7 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/1.096, allocations: 4 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/1.096, allocations: 4.844 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001213/1.096, allocations: 26.14 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/1.096, allocations: 58.48 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.096, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/1.096, allocations: 0.5938 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/1.096, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/1.097, allocations: 292.2 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/1.097, allocations: 35.27 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/1.097, allocations: 25.58 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/1.097, allocations: 0.6875 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/1.098, allocations: 72.39 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/1.098, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000346/1.098, allocations: 98.36 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/1.098, allocations: 52.25 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/1.098, allocations: 113.8 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/1.098, allocations: 34.33 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/1.098, allocations: 88.81 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/1.098, allocations: 17.66 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/1.098, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.098, allocations: 326.8 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.964e-05/1.099, allocations: 16 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.06e-05/1.099, allocations: 40.59 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/1.099, allocations: 27.03 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.099, allocations: 3.938 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002438/1.099, allocations: 91.34 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.099, allocations: 8 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.099, allocations: 0.5625 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.099, allocations: 6.859 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/1.099, allocations: 15.92 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.099, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/1.099, allocations: 4 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/1.099, allocations: 4 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000112/1.1, allocations: 120.8 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002517/1.1, allocations: 93.52 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/1.1, allocations: 4 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/1.1, allocations: 12.61 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.1, allocations: 4 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.1, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.1, allocations: 3.953 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/1.101, allocations: 331 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.101, allocations: 3.875 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/1.101, allocations: 11.98 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/1.101, allocations: 4 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/1.101, allocations: 5.438 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/1.101, allocations: 0 / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.101, allocations: 7.891 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/1.101, allocations: 187.5 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/1.101, allocations: 85.02 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/1.101, allocations: 4 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/1.101, allocations: 4 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/1.101, allocations: 11.94 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/1.101, allocations: 0 / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.259e-05/1.101, allocations: 91.27 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.81e-07/1.101, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004822/1.102, allocations: 47.94 kB / 1.105 GB, free: 11.12 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001092/1.103, allocations: 0.8015 MB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002211/1.103, allocations: 55.92 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.103, allocations: 4.125 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.969e-05/1.103, allocations: 28 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/1.104, allocations: 2.062 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/1.104, allocations: 148.5 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/1.105, allocations: 0.6885 MB / 1.107 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.081e-05/1.105, allocations: 9.422 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/1.105, allocations: 19.44 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of SimCode: time 1.243e-06/1.105, allocations: 7.938 kB / 1.107 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/1.147, allocations: 2.181 MB / 1.109 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003532/1.147, allocations: 188.8 kB / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.561, allocations: 0 / 1.109 GB, free: 6.973 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)