Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.77/1.77, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001103/0.001103, allocations: 183.7 kB / 371.6 MB, free: 3.414 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.739/1.739, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008842/0.0008844, allocations: 90.72 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.376e-05/4.378e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.276, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8673/1.143, allocations: 141.2 MB / 1.118 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.144, allocations: 81.44 kB / 1.118 GB, free: 43 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.01008/1.154, allocations: 3.577 MB / 1.121 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/1.154, allocations: 3.938 kB / 1.121 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.154, allocations: 0.6562 kB / 1.121 GB, free: 40.94 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005192/1.154, allocations: 472.8 kB / 1.122 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.154, allocations: 8.031 kB / 1.122 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/1.154, allocations: 41.8 kB / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/1.154, allocations: 17.84 kB / 1.122 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/1.155, allocations: 174.8 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/1.155, allocations: 7.938 kB / 1.122 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/1.155, allocations: 9.203 kB / 1.122 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/1.155, allocations: 86.77 kB / 1.122 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.155, allocations: 0 / 1.122 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/1.155, allocations: 0 / 1.122 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/1.155, allocations: 4 kB / 1.122 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.066e-05/1.155, allocations: 38.5 kB / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007978/1.156, allocations: 386.2 kB / 1.123 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/1.156, allocations: 61.31 kB / 1.123 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/1.156, allocations: 39.92 kB / 1.123 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/1.156, allocations: 4 kB / 1.123 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/1.156, allocations: 85.3 kB / 1.123 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.215e-06/1.156, allocations: 0.8906 kB / 1.123 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003019/1.156, allocations: 154.3 kB / 1.123 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/1.157, allocations: 55.28 kB / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/1.157, allocations: 134.6 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/1.157, allocations: 33.7 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/1.157, allocations: 96.47 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/1.157, allocations: 18.69 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-06/1.157, allocations: 4 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.286e-05/1.157, allocations: 322.2 kB / 1.124 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.669e-05/1.157, allocations: 31.69 kB / 1.124 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.808e-05/1.157, allocations: 63.06 kB / 1.124 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.871e-05/1.157, allocations: 34.67 kB / 1.124 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.157, allocations: 0.6562 kB / 1.124 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001859/1.157, allocations: 131.3 kB / 1.124 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.157, allocations: 4 kB / 1.124 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.157, allocations: 0.75 kB / 1.124 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.157, allocations: 8.547 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/1.157, allocations: 27.27 kB / 1.124 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.157, allocations: 3.953 kB / 1.124 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/1.158, allocations: 16.11 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/1.158, allocations: 4 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.298e-05/1.158, allocations: 114.4 kB / 1.124 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/1.158, allocations: 15.81 kB / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/1.158, allocations: 15.92 kB / 1.124 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.158, allocations: 1.219 kB / 1.124 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.158, allocations: 0.6875 kB / 1.124 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.158, allocations: 3.953 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/1.158, allocations: 442 kB / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.158, allocations: 3.938 kB / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/1.158, allocations: 11.28 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.158, allocations: 5 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/1.158, allocations: 7.375 kB / 1.124 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.158, allocations: 3.953 kB / 1.124 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.158, allocations: 0 / 1.124 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/1.158, allocations: 245.1 kB / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/1.159, allocations: 81.02 kB / 1.125 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/1.159, allocations: 4 kB / 1.125 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/1.159, allocations: 12.03 kB / 1.125 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/1.159, allocations: 19.14 kB / 1.125 GB, free: 37.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/1.159, allocations: 7.469 kB / 1.125 GB, free: 37.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.946e-05/1.159, allocations: 102.4 kB / 1.125 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.159, allocations: 0 / 1.125 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002987/1.159, allocations: 59.2 kB / 1.125 GB, free: 37.59 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007403/1.16, allocations: 0.8536 MB / 1.126 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001873/1.16, allocations: 82.23 kB / 1.126 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/1.16, allocations: 0 / 1.126 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.062e-05/1.16, allocations: 49.06 kB / 1.126 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/1.16, allocations: 16.81 kB / 1.126 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/1.161, allocations: 198.5 kB / 1.126 GB, free: 36.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/1.161, allocations: 0.7069 MB / 1.127 GB, free: 35.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.23e-05/1.161, allocations: 8 kB / 1.127 GB, free: 35.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/1.161, allocations: 27.45 kB / 1.127 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/1.161, allocations: 0 / 1.127 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/1.177, allocations: 3.199 MB / 1.13 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/1.177, allocations: 207 kB / 1.13 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.856, allocations: 4 kB / 1.13 GB, free: 33.8 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)