Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.855/2.855, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.001432/0.001431, allocations: 185.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001027/0.001027, allocations: 92.7 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005016, allocations: 18.89 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2755, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.00252/0.2781, allocations: 1.285 MB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2801, allocations: 0.7658 MB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.2802, allocations: 0 / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.2803, allocations: 3.938 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.2804, allocations: 15.86 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006849/0.2811, allocations: 119.7 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.2813, allocations: 119.6 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2814, allocations: 12 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.2816, allocations: 55.81 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.2818, allocations: 55.8 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.2818, allocations: 8 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.2822, allocations: 91.86 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.2822, allocations: 35.81 kB / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.895e-05/0.2823, allocations: 37.7 kB / 0.981 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.2826, allocations: 135.9 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2826, allocations: 4 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2826, allocations: 0 / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.2826, allocations: 0 / 0.9811 GB, free: 25.51 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.0009488/0.2836, allocations: 470.2 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.2837, allocations: 12.03 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.837e-05/0.2837, allocations: 34.56 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.2838, allocations: 15.77 kB / 0.9816 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.284, allocations: 175.6 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.284, allocations: 4 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.2841, allocations: 8 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.2845, allocations: 101.6 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2846, allocations: 0 / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.2846, allocations: 0 / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.2846, allocations: 7.922 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.285, allocations: 75.89 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.2865, allocations: 380.6 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.2869, allocations: 74.55 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.2872, allocations: 56.83 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.2873, allocations: 0 / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000448/0.2877, allocations: 115.3 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.785e-06/0.2878, allocations: 4 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001215/0.289, allocations: 229.4 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.2891, allocations: 55.41 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.2892, allocations: 147.4 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.2893, allocations: 25.7 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.2894, allocations: 96.75 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.2894, allocations: 27.64 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.2895, allocations: 0 / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.54e-05/0.2896, allocations: 330.8 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.2899, allocations: 43.92 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.2902, allocations: 80.19 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.2905, allocations: 55.98 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2905, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007612/0.2913, allocations: 161.4 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.2914, allocations: 5.562 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2914, allocations: 4 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.2914, allocations: 7.938 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.2918, allocations: 23.98 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2918, allocations: 0 / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.2921, allocations: 20 kB / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.2921, allocations: 7.984 kB / 0.9839 GB, free: 22.46 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 0.0001492/0.2923, allocations: 128.1 kB / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.2923, allocations: 11.84 kB / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.2924, allocations: 12.72 kB / 0.984 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.2924, allocations: 0 / 0.984 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.2924, allocations: 3.953 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.2925, allocations: 11.98 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.2937, allocations: 462.5 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2937, allocations: 0 / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.2939, allocations: 8.047 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.2939, allocations: 11.98 kB / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.294, allocations: 7.938 kB / 0.9845 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.294, allocations: 0 / 0.9845 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.294, allocations: 0 / 0.9845 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.2948, allocations: 275.3 kB / 0.9847 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.2949, allocations: 92.91 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.295, allocations: 4 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.2953, allocations: 12.14 kB / 0.9848 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.2954, allocations: 7.984 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.2954, allocations: 11.98 kB / 0.9849 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001031/0.2955, allocations: 105.9 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.42e-07/0.2956, allocations: 7.938 kB / 0.985 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006956/0.2963, allocations: 47.98 kB / 0.985 GB, free: 21.17 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.001546/0.2978, allocations: 0.8585 MB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007181/0.2986, allocations: 123.9 kB / 0.986 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2986, allocations: 0 / 0.986 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.299, allocations: 67.94 kB / 0.986 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/0.2996, allocations: 11.94 kB / 0.9861 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.3021, allocations: 0.7864 MB / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.3024, allocations: 0.7054 MB / 0.9875 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.3025, allocations: 7.984 kB / 0.9875 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.3026, allocations: 27.42 kB / 0.9875 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.3026, allocations: 0 / 0.9875 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.3298, allocations: 3.014 MB / 0.9905 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/0.3302, allocations: 257.1 kB / 0.9907 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/2.948, allocations: 0 / 0.9907 GB, free: 15.32 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)