Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 249.5 MB / 257 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 180.9 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008555/0.0008554, allocations: 91.75 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.914e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2007, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7166/0.9174, allocations: 134.2 MB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.9177, allocations: 80.27 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.01109/0.9288, allocations: 3.563 MB / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9288, allocations: 0 / 1.02 GB, free: 480 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.9288, allocations: 7.938 kB / 1.02 GB, free: 472 kB / 0.6355 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.0006753/0.9295, allocations: 473.6 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.9296, allocations: 11.97 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.9296, allocations: 15.89 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.9298, allocations: 177.1 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.9298, allocations: 7.875 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.9299, allocations: 4 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001123/0.93, allocations: 51.3 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.9301, allocations: 72.16 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9302, allocations: 0 / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.9302, allocations: 4 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.9302, allocations: 0 / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000876/0.9311, allocations: 351.6 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.9312, allocations: 54.14 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.9313, allocations: 44.41 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.9313, allocations: 0 / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.9315, allocations: 90.69 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.9315, allocations: 0 / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003412/0.9318, allocations: 140.1 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.9319, allocations: 58.86 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.932, allocations: 132 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.932, allocations: 29.7 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.9321, allocations: 95.91 kB / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.9321, allocations: 19.72 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/0.9321, allocations: 3.938 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9323, allocations: 326.3 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-05/0.9323, allocations: 23.44 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.071e-05/0.9324, allocations: 55.17 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.9325, allocations: 39.23 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.9325, allocations: 3.984 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002028/0.9327, allocations: 119.9 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.9327, allocations: 8 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9327, allocations: 0 / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.9327, allocations: 4 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.9329, allocations: 16.08 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.9329, allocations: 15.86 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.933, allocations: 19.88 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.933, allocations: 8.094 kB / 1.022 GB, free: 14.04 MB / 0.6511 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 9.282e-05/0.9331, allocations: 108.9 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002383/0.9334, allocations: 147.8 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.9334, allocations: 11.81 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.9335, allocations: 8.375 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.9335, allocations: 4 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9335, allocations: 3.953 kB / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.9335, allocations: 4.031 kB / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.9339, allocations: 408.8 kB / 1.023 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.9339, allocations: 0 / 1.023 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.934, allocations: 11.98 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.934, allocations: 0 / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.934, allocations: 4 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.9341, allocations: 8.016 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9341, allocations: 0 / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.9344, allocations: 245.3 kB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.9344, allocations: 85.02 kB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.9344, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.9346, allocations: 11.98 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.9346, allocations: 7.938 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.9347, allocations: 4.281 kB / 1.023 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.926e-05/0.9347, allocations: 107.5 kB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.804e-06/0.9347, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003408/0.9351, allocations: 63.67 kB / 1.024 GB, free: 12.87 MB / 0.6511 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.00091/0.936, allocations: 0.8361 MB / 1.024 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.9362, allocations: 82.86 kB / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9362, allocations: 0 / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.828e-05/0.9363, allocations: 47.05 kB / 1.024 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.9365, allocations: 11.81 kB / 1.024 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.9371, allocations: 189.2 kB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.9374, allocations: 0.7088 MB / 1.025 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.775e-05/0.9375, allocations: 8.078 kB / 1.025 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.9376, allocations: 26.98 kB / 1.025 GB, free: 11 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9376, allocations: 0 / 1.025 GB, free: 11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.9587, allocations: 2.846 MB / 1.028 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.959, allocations: 197.7 kB / 1.028 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.507, allocations: 0 / 1.028 GB, free: 7.914 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)