Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.783/1.783, allocations: 285.4 MB / 298 MB, free: 5.926 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.001139/0.001139, allocations: 168.9 kB / 366.4 MB, free: 2.074 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.69/1.69, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008289/0.0008292, allocations: 98.34 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.884e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.7146, allocations: 115.3 MB / 0.971 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.9123, allocations: 140.2 MB / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.9127, allocations: 79.95 kB / 1.108 GB, free: 11.44 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.01224/0.9249, allocations: 3.589 MB / 1.112 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.925, allocations: 0 / 1.112 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.925, allocations: 0.7188 kB / 1.112 GB, free: 7.887 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007383/0.9257, allocations: 474.6 kB / 1.112 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.9258, allocations: 12.03 kB / 1.112 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.628e-05/0.9259, allocations: 30.56 kB / 1.112 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.926, allocations: 11.81 kB / 1.112 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.9261, allocations: 191.3 kB / 1.112 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.9262, allocations: 11.25 kB / 1.112 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.9262, allocations: 4 kB / 1.112 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.9264, allocations: 87.39 kB / 1.112 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9265, allocations: 0 / 1.112 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.9265, allocations: 7.031 kB / 1.112 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.9265, allocations: 2.812 kB / 1.112 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.9267, allocations: 39.94 kB / 1.112 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000989/0.9277, allocations: 376.6 kB / 1.113 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.9278, allocations: 54.58 kB / 1.113 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.487e-05/0.9279, allocations: 44.84 kB / 1.113 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.928, allocations: 4.141 kB / 1.113 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.9282, allocations: 95.3 kB / 1.113 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.225e-06/0.9282, allocations: 0 / 1.113 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004104/0.9286, allocations: 153.5 kB / 1.113 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.9287, allocations: 55.39 kB / 1.113 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.9288, allocations: 133 kB / 1.113 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.9289, allocations: 33.7 kB / 1.113 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.9289, allocations: 96.36 kB / 1.113 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.929, allocations: 19.72 kB / 1.113 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/0.929, allocations: 0 / 1.113 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.9291, allocations: 326.8 kB / 1.114 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.34e-05/0.9292, allocations: 28 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.083e-05/0.9293, allocations: 66.78 kB / 1.114 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.99e-05/0.9294, allocations: 27.98 kB / 1.114 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.9294, allocations: 10.91 kB / 1.114 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002333/0.9297, allocations: 133.4 kB / 1.114 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.9297, allocations: 4 kB / 1.114 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.9297, allocations: 0 / 1.114 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.9297, allocations: 4 kB / 1.114 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.9299, allocations: 23.92 kB / 1.114 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.9299, allocations: 3.953 kB / 1.114 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.93, allocations: 24.02 kB / 1.114 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.93, allocations: 4 kB / 1.114 GB, free: 5.113 MB / 0.7136 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 8.696e-05/0.9301, allocations: 109 kB / 1.114 GB, free: 5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.9302, allocations: 15.81 kB / 1.114 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.9302, allocations: 8.625 kB / 1.114 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.9302, allocations: 3.984 kB / 1.114 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.9302, allocations: 4 kB / 1.114 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9302, allocations: 8 kB / 1.114 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.9308, allocations: 438.4 kB / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.9308, allocations: 3 kB / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.9309, allocations: 11.98 kB / 1.115 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.9309, allocations: 4 kB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.9309, allocations: 4 kB / 1.115 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.9309, allocations: 3.953 kB / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9309, allocations: 0 / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.9312, allocations: 249 kB / 1.115 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.9313, allocations: 85.02 kB / 1.115 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.9313, allocations: 0 / 1.115 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.9315, allocations: 15.98 kB / 1.115 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.9315, allocations: 7.938 kB / 1.115 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.9315, allocations: 4 kB / 1.115 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.932e-05/0.9316, allocations: 110.1 kB / 1.115 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9316, allocations: 4 kB / 1.115 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000377/0.932, allocations: 55.88 kB / 1.115 GB, free: 3.902 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: 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.0009293/0.933, allocations: 0.8522 MB / 1.116 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.9332, allocations: 87.92 kB / 1.116 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9332, allocations: 0 / 1.116 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.513e-05/0.9333, allocations: 43.98 kB / 1.116 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.9335, allocations: 21.19 kB / 1.116 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/0.9342, allocations: 193.5 kB / 1.116 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.9345, allocations: 0.7045 MB / 1.117 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.234e-05/0.9346, allocations: 4 kB / 1.117 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.9347, allocations: 32.05 kB / 1.117 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.9347, allocations: 0 / 1.117 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.9493, allocations: 3.202 MB / 1.12 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.9496, allocations: 213.9 kB / 1.12 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.545, allocations: 4.75 kB / 1.12 GB, free: 14.68 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)