Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.87/1.87, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001444/0.001444, allocations: 189 kB / 377.1 MB, free: 1.523 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.853/1.853, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.0009887/0.0009887, allocations: 97.7 kB / 0.7509 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2862, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7073/0.9935, allocations: 141 MB / 1.126 GB, free: 34.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.9939, allocations: 87.81 kB / 1.126 GB, free: 33.99 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.008632/1.003, allocations: 2.981 MB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.506e-06/1.003, allocations: 4 kB / 1.129 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.223e-06/1.003, allocations: 0 / 1.129 GB, free: 31.83 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005183/1.003, allocations: 432.4 kB / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.003, allocations: 12.02 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/1.003, allocations: 34.56 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/1.003, allocations: 10 kB / 1.13 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.748e-05/1.003, allocations: 171.2 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/1.003, allocations: 7.438 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/1.003, allocations: 4 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/1.004, allocations: 73.06 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/1.004, allocations: 0 / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/1.004, allocations: 3.812 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.004, allocations: 5.5 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/1.004, allocations: 46.53 kB / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/1.004, allocations: 321.9 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/1.004, allocations: 45.91 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/1.004, allocations: 0 / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/1.005, allocations: 84.98 kB / 1.13 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/1.005, allocations: 0 / 1.13 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003496/1.005, allocations: 148.5 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/1.005, allocations: 59.02 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.875e-05/1.005, allocations: 117.7 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/1.005, allocations: 25.7 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/1.005, allocations: 99.75 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/1.005, allocations: 7.812 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/1.005, allocations: 8 kB / 1.131 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.173e-05/1.005, allocations: 318.4 kB / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.107e-05/1.005, allocations: 23.52 kB / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.573e-05/1.005, allocations: 62.17 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.637e-05/1.006, allocations: 36.17 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.006, allocations: 0 / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001971/1.006, allocations: 117.8 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.006, allocations: 8 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.006, allocations: 0 / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.006, allocations: 0.75 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.894e-05/1.006, allocations: 15.52 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.006, allocations: 0 / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/1.006, allocations: 11.97 kB / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/1.006, allocations: 15.92 kB / 1.131 GB, free: 29.48 MB / 0.7292 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 () * Number of clocked 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 7.221e-05/1.006, allocations: 117.8 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/1.006, allocations: 4 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/1.006, allocations: 12.89 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.006, allocations: 0.6562 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/1.006, allocations: 0 / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.006, allocations: 3.969 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/1.006, allocations: 392.5 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.007, allocations: 0 / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/1.007, allocations: 8.5 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.007, allocations: 0 / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/1.007, allocations: 4.078 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.007, allocations: 0.6875 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.007, allocations: 0.8594 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/1.007, allocations: 221.2 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/1.007, allocations: 85.05 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/1.007, allocations: 4 kB / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/1.007, allocations: 8.266 kB / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/1.007, allocations: 9.312 kB / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/1.007, allocations: 3.469 kB / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.389e-05/1.007, allocations: 99.73 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.007, allocations: 0 / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000286/1.007, allocations: 51.94 kB / 1.132 GB, free: 28.45 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked 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.0006369/1.008, allocations: 0.814 MB / 1.133 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002156/1.008, allocations: 83.36 kB / 1.133 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.008, allocations: 0 / 1.133 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/1.008, allocations: 35.61 kB / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/1.009, allocations: 12.86 kB / 1.133 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/1.009, allocations: 0.7266 MB / 1.134 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/1.009, allocations: 0.6949 MB / 1.135 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.846e-05/1.009, allocations: 5.438 kB / 1.135 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/1.009, allocations: 22.86 kB / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.009, allocations: 0 / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/1.023, allocations: 2.492 MB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/1.023, allocations: 231.5 kB / 1.137 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.626, allocations: 0 / 1.137 GB, free: 24.48 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)