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.915/1.915, allocations: 288.4 MB / 303.3 MB, free: 8.211 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.001393/0.001394, allocations: 187.2 kB / 372 MB, free: 10.27 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.721/1.721, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0009054/0.0009055, allocations: 90.34 kB / 0.7441 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 11.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2469, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002204/0.2492, allocations: 1.281 MB / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2506, allocations: 0.7656 MB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.2506, allocations: 4 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.2507, allocations: 3.938 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.274e-05/0.2508, allocations: 15.84 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.2513, allocations: 115.7 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.2514, allocations: 111.6 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.093e-05/0.2515, allocations: 23.97 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.959e-05/0.2516, allocations: 47.84 kB / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.564e-05/0.2517, allocations: 67.78 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.2517, allocations: 4 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.2519, allocations: 91.78 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.2519, allocations: 23.91 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.252, allocations: 37.7 kB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.2521, allocations: 147.9 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2522, allocations: 0 / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.811e-06/0.2522, allocations: 0 / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.2522, allocations: 3.938 kB / 0.9823 GB, free: 24.81 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007583/0.2529, allocations: 459.2 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/0.253, allocations: 12.03 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.2531, allocations: 42.55 kB / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.2532, allocations: 15.81 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.2533, allocations: 176.6 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.2533, allocations: 11.98 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.2534, allocations: 4 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.2537, allocations: 101.6 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2537, allocations: 0 / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.2537, allocations: 3.938 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2537, allocations: 4 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.2539, allocations: 75.89 kB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000835/0.2548, allocations: 376.6 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.2549, allocations: 70.55 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.2551, allocations: 60.83 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.2551, allocations: 7.938 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.2553, allocations: 103.5 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2553, allocations: 4 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005055/0.2559, allocations: 225.4 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.2559, allocations: 67.38 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.256, allocations: 139.8 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.256, allocations: 30.08 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.2561, allocations: 96.36 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.2561, allocations: 23.66 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.2561, allocations: 8 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.2562, allocations: 322.8 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.2563, allocations: 47.97 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.2564, allocations: 80.2 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.2565, allocations: 55.97 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2565, allocations: 0 / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002921/0.2568, allocations: 169.5 kB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2569, allocations: 8 kB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2569, allocations: 0 / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2569, allocations: 0 / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.257, allocations: 19.98 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.2571, allocations: 7.953 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.82e-05/0.2572, allocations: 15.89 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.2572, allocations: 12.09 kB / 0.985 GB, free: 21.76 MB / 0.6198 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,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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.777e-05/0.2573, allocations: 133.7 kB / 0.9852 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.2573, allocations: 11.91 kB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.2573, allocations: 8.719 kB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2573, allocations: 4 kB / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2573, allocations: 0 / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2574, allocations: 3.953 kB / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.2578, allocations: 466.4 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2579, allocations: 4 kB / 0.9856 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.2579, allocations: 11.98 kB / 0.9857 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2579, allocations: 0 / 0.9857 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.2579, allocations: 4 kB / 0.9857 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.258, allocations: 7.938 kB / 0.9857 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.258, allocations: 4 kB / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.2583, allocations: 271.3 kB / 0.9859 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.2583, allocations: 88.92 kB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.2584, allocations: 4.188 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2585, allocations: 11.98 kB / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.2586, allocations: 19.88 kB / 0.9861 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.2586, allocations: 4 kB / 0.9861 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.2586, allocations: 110.8 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.41e-07/0.2586, allocations: 0 / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002756/0.2589, allocations: 44 kB / 0.9862 GB, free: 20.48 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * 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.000759/0.2597, allocations: 0.8705 MB / 0.9871 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.26, allocations: 115.9 kB / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.26, allocations: 192 / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.2602, allocations: 75.92 kB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.2604, allocations: 18.05 kB / 0.9873 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.2616, allocations: 0.7824 MB / 0.988 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.2617, allocations: 0.7041 MB / 0.9887 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.206e-05/0.2618, allocations: 4 kB / 0.9887 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.2618, allocations: 31.42 kB / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.2619, allocations: 0 / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.2758, allocations: 3.012 MB / 0.9917 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/0.2761, allocations: 261.4 kB / 0.9919 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.953, allocations: 4 kB / 0.9919 GB, free: 14.61 MB / 0.6198 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)