Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 288.4 MB / 303.3 MB, free: 8.043 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.001061/0.001061, allocations: 195 kB / 372 MB, free: 10.24 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.723/1.723, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009133/0.0009135, allocations: 98.31 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004681, allocations: 10.81 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2534, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001762/0.2552, allocations: 1.199 MB / 0.9808 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2564, allocations: 0.7227 MB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.2564, allocations: 4 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.2565, allocations: 3.938 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-05/0.2565, allocations: 11.91 kB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.257, allocations: 95.77 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.763e-05/0.2571, allocations: 63.78 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.2572, allocations: 11.98 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.2572, allocations: 31.91 kB / 0.9817 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.2573, allocations: 35.84 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.2573, allocations: 4 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.2575, allocations: 79.91 kB / 0.9818 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.2575, allocations: 15.92 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.2575, allocations: 33.7 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.2577, allocations: 100 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2577, allocations: 0 / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2577, allocations: 0 / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2577, allocations: 0 / 0.982 GB, free: 25.13 MB / 0.6198 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.0005043/0.2582, allocations: 412.8 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2583, allocations: 12.03 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.2583, allocations: 34.5 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.2584, allocations: 11.89 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.723e-05/0.2584, allocations: 171 kB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.2585, allocations: 4 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.2585, allocations: 4 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.2587, allocations: 77.64 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2587, allocations: 0 / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2587, allocations: 4 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.2587, allocations: 0 / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.2589, allocations: 39.97 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.2594, allocations: 328.6 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2595, allocations: 50.55 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.2596, allocations: 36.97 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.2596, allocations: 4 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.2598, allocations: 79.31 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.2598, allocations: 0 / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003674/0.2602, allocations: 153.8 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.2602, allocations: 55.41 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.387e-05/0.2603, allocations: 125.8 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2603, allocations: 29.7 kB / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.2604, allocations: 88.27 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.2604, allocations: 23.73 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.2604, allocations: 3.938 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.55e-05/0.2605, allocations: 322.8 kB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.2606, allocations: 23.98 kB / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.004e-05/0.2606, allocations: 58.48 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.2607, allocations: 40.05 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2607, allocations: 0 / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001989/0.2609, allocations: 121.5 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.261, allocations: 9.719 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.261, allocations: 0 / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.261, allocations: 3.984 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.287e-05/0.2611, allocations: 20.05 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2611, allocations: 3.953 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.2612, allocations: 4 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.2612, allocations: 4 kB / 0.9842 GB, free: 22.57 MB / 0.6198 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 (win.occ,$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 6.97e-05/0.2613, allocations: 117.8 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.2613, allocations: 11.91 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.2613, allocations: 8.359 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2613, allocations: 8 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2613, allocations: 0 / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2614, allocations: 3.953 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.2617, allocations: 378.5 kB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2617, allocations: 4 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.2618, allocations: 7.938 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2618, allocations: 8 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2618, allocations: 3.984 kB / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2618, allocations: 3.953 kB / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2618, allocations: 0 / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.262, allocations: 215.4 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.2621, allocations: 85.02 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.2621, allocations: 7.984 kB / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.2622, allocations: 7.938 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.2622, allocations: 7.938 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.2623, allocations: 4 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.2623, allocations: 95.27 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2623, allocations: 0 / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000258/0.2626, allocations: 32 kB / 0.9852 GB, free: 21.49 MB / 0.6198 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,win.occ,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.0006559/0.2632, allocations: 0.8113 MB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.2635, allocations: 79.88 kB / 0.9861 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2635, allocations: 0 / 0.9861 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2636, allocations: 43.97 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.2638, allocations: 12.08 kB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009098/0.2648, allocations: 0.5949 MB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.2649, allocations: 0.6887 MB / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.875e-05/0.2649, allocations: 8.172 kB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.265, allocations: 24.17 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.265, allocations: 0 / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.2788, allocations: 2.344 MB / 0.9897 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.279, allocations: 254 kB / 0.9899 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.905, allocations: 3.938 kB / 0.99 GB, free: 16.63 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)