Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 249.5 MB / 257 MB, free: 6.844 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.0009809/0.0009806, allocations: 179.3 kB / 316.3 MB, free: 3.246 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.482/1.482, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008702/0.0008702, allocations: 84.69 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.017e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2118, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7184/0.9302, allocations: 133.9 MB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.9306, allocations: 88.23 kB / 1.016 GB, free: 3.418 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.009193/0.9398, allocations: 2.947 MB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.464e-06/0.9398, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.9399, allocations: 4 kB / 1.019 GB, free: 0.9258 MB / 0.6355 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.0006413/0.9405, allocations: 415.4 kB / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/0.9406, allocations: 16.02 kB / 1.019 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.9406, allocations: 8 kB / 1.019 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.9408, allocations: 174.9 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.9409, allocations: 0 / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.9409, allocations: 4 kB / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.433e-05/0.941, allocations: 19 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.9411, allocations: 58.91 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.9411, allocations: 0 / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.9412, allocations: 3.984 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.9412, allocations: 4 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.9418, allocations: 289.9 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.854e-05/0.9419, allocations: 41.12 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/0.942, allocations: 24.17 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.942, allocations: 3.812 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.9422, allocations: 71.86 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.9422, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002933/0.9425, allocations: 91.83 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.9425, allocations: 59.34 kB / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.9426, allocations: 112 kB / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.9427, allocations: 25.7 kB / 1.02 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.9427, allocations: 91.8 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.9428, allocations: 23.64 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.9428, allocations: 0 / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.9429, allocations: 322.4 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.58e-05/0.9429, allocations: 19.12 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.381e-05/0.943, allocations: 41.69 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.849e-05/0.9431, allocations: 23.17 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9431, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001486/0.9432, allocations: 95.97 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.9433, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9433, allocations: 3.984 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.9433, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.9434, allocations: 16 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.9434, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.9435, allocations: 11.89 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.9435, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.6511 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.0001029/0.9436, allocations: 116.9 kB / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001539/0.9438, allocations: 95.62 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.9438, allocations: 3.906 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.9439, allocations: 12.12 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.9439, allocations: 3.984 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9439, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.9439, allocations: 3.953 kB / 1.021 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.9443, allocations: 335.3 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.9443, allocations: 4 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.9443, allocations: 7.984 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.9443, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.9444, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.9444, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.9444, allocations: 3.953 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.9446, allocations: 196.5 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.9446, allocations: 93 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.9447, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.9448, allocations: 4 kB / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.9448, allocations: 11.94 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.9448, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.9449, allocations: 94.22 kB / 1.022 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9449, allocations: 4 kB / 1.022 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003192/0.9452, allocations: 47.92 kB / 1.022 GB, free: 13.77 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: 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.0007068/0.9459, allocations: 0.7986 MB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.9461, allocations: 45.56 kB / 1.023 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.9461, allocations: 7.812 kB / 1.023 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.543e-05/0.9461, allocations: 30.73 kB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.9463, allocations: 6.5 kB / 1.023 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.9468, allocations: 154.9 kB / 1.023 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.947, allocations: 0.6885 MB / 1.024 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.971e-05/0.9471, allocations: 12.12 kB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.9471, allocations: 21.73 kB / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.9471, allocations: 0 / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.9754, allocations: 2.189 MB / 1.026 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.9757, allocations: 195 kB / 1.026 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.48, allocations: 0 / 1.026 GB, free: 9.578 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)