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.686/2.686, allocations: 287.3 MB / 302.3 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.00167/0.001669, allocations: 191 kB / 370.8 MB, free: 10.86 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.373/2.373, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001087/0.001087, allocations: 85.73 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006478/0.0006479, allocations: 16.36 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.272, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001867/0.274, allocations: 1.282 MB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.2756, allocations: 0.7611 MB / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.2757, allocations: 4 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.2757, allocations: 3.938 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.213e-05/0.2758, allocations: 19.97 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.2765, allocations: 119.6 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.2766, allocations: 79.83 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.2767, allocations: 11.98 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2768, allocations: 47.91 kB / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.277, allocations: 67.72 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.277, allocations: 8 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.2772, allocations: 71.92 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.2773, allocations: 19.91 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.2773, allocations: 45.64 kB / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.2776, allocations: 139.9 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2776, allocations: 0 / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2776, allocations: 0 / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.2776, allocations: 0 / 0.9809 GB, free: 25.61 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.0008091/0.2784, allocations: 474.3 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2785, allocations: 8.031 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.2786, allocations: 38.5 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.2786, allocations: 15.77 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2787, allocations: 175.5 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.2788, allocations: 8 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.2788, allocations: 12 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.2792, allocations: 105.5 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2792, allocations: 0 / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.2792, allocations: 0 / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.2793, allocations: 4 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.2796, allocations: 75.89 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.2808, allocations: 376.6 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.2811, allocations: 74.48 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.2811, allocations: 4 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003334/0.2815, allocations: 107.5 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.765e-06/0.2815, allocations: 0 / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0009155/0.2824, allocations: 233.4 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.2825, allocations: 55.41 kB / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2826, allocations: 146.6 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.2826, allocations: 29.7 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.2827, allocations: 96.36 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.2827, allocations: 23.66 kB / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.2828, allocations: 4 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.2829, allocations: 322.8 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2831, allocations: 55.91 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.2833, allocations: 74.39 kB / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.2835, allocations: 55.98 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2835, allocations: 0 / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000557/0.2841, allocations: 165.4 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.2841, allocations: 4.375 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2842, allocations: 4.062 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.2842, allocations: 4 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.2845, allocations: 23.94 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2845, allocations: 3.938 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.2847, allocations: 27.95 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.2847, allocations: 4 kB / 0.9836 GB, free: 22.61 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.000129/0.2848, allocations: 123.6 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.462e-05/0.2849, allocations: 15.94 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.2849, allocations: 16.81 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.285, allocations: 3.938 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.285, allocations: 3.953 kB / 0.9837 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.285, allocations: 4 kB / 0.9837 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009209/0.2859, allocations: 466.4 kB / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.286, allocations: 0 / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.2861, allocations: 11.98 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-06/0.2861, allocations: 8 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.2861, allocations: 3.953 kB / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2861, allocations: 0 / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2862, allocations: 0 / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006119/0.2868, allocations: 279.3 kB / 0.9845 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.2868, allocations: 88.92 kB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.2869, allocations: 0 / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.2871, allocations: 15.94 kB / 0.9846 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.2872, allocations: 15.92 kB / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.2872, allocations: 0 / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.946e-05/0.2873, allocations: 107.8 kB / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2873, allocations: 0 / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004525/0.2878, allocations: 48 kB / 0.9847 GB, free: 21.32 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.001158/0.2889, allocations: 0.8641 MB / 0.9856 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005278/0.2895, allocations: 119.9 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2895, allocations: 0 / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.2898, allocations: 67.89 kB / 0.9858 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.2901, allocations: 11.95 kB / 0.9858 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2911, allocations: 1.084 MB / 0.9868 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.2913, allocations: 0.7082 MB / 0.9875 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.024e-05/0.2914, allocations: 12.08 kB / 0.9875 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.568e-05/0.2915, allocations: 31.42 kB / 0.9876 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/0.2915, allocations: 0 / 0.9876 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.3153, allocations: 2.979 MB / 0.9905 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/0.3157, allocations: 251.6 kB / 0.9907 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/2.934, allocations: 0 / 0.9907 GB, free: 15.27 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)