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.684/1.684, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.00106/0.00106, allocations: 177 kB / 371.8 MB, free: 10.3 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.11/2.11, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001057/0.001057, allocations: 94.88 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004128, allocations: 12.03 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2953, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001879/0.2973, allocations: 1.274 MB / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2985, allocations: 0.7686 MB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.2986, allocations: 0 / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.2986, allocations: 3.938 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.2987, allocations: 15.97 kB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.2992, allocations: 119.6 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.2994, allocations: 79.83 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2995, allocations: 15.98 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2996, allocations: 51.89 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.2997, allocations: 63.73 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.2997, allocations: 4 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.2999, allocations: 75.92 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.2999, allocations: 27.83 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.3, allocations: 45.64 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.3002, allocations: 128 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3002, allocations: 4 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3002, allocations: 0 / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3002, allocations: 0 / 0.9821 GB, free: 24.92 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.0006842/0.3009, allocations: 474.3 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.301, allocations: 8.031 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.301, allocations: 34.56 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.3011, allocations: 11.81 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3012, allocations: 185.2 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.3012, allocations: 8 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3013, allocations: 4 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3015, allocations: 109.5 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3015, allocations: 3.938 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3015, allocations: 0 / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3016, allocations: 4 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.3018, allocations: 71.95 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.3026, allocations: 376.6 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.3027, allocations: 82.45 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.3028, allocations: 0 / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.303, allocations: 107.3 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.303, allocations: 0 / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005384/0.3036, allocations: 229.4 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3036, allocations: 59.36 kB / 0.9838 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.3037, allocations: 145.5 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3038, allocations: 33.7 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.3038, allocations: 100.4 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3039, allocations: 19.66 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.3039, allocations: 11.94 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.304, allocations: 318.8 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.3041, allocations: 47.97 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.3042, allocations: 80.27 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.3043, allocations: 47.98 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3043, allocations: 0 / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002901/0.3046, allocations: 165.4 kB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3047, allocations: 8 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3047, allocations: 0 / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3047, allocations: 4 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3048, allocations: 15.98 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.3049, allocations: 12.16 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.525e-05/0.305, allocations: 27.77 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.305, allocations: 4.375 kB / 0.9848 GB, free: 21.92 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 9.659e-05/0.3051, allocations: 128.5 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.3051, allocations: 7.906 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.459e-05/0.3052, allocations: 12.7 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3052, allocations: 11.94 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.3052, allocations: 0 / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3052, allocations: 3.953 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.3057, allocations: 466.5 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3057, allocations: 0 / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.3058, allocations: 20.05 kB / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3058, allocations: 0 / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.3058, allocations: 0 / 0.9854 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3058, allocations: 7.891 kB / 0.9854 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3058, allocations: 4 kB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.3062, allocations: 275.3 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.3062, allocations: 88.92 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.3063, allocations: 0 / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.3064, allocations: 11.98 kB / 0.9858 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.3064, allocations: 15.94 kB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3065, allocations: 4 kB / 0.9858 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.3065, allocations: 111.8 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3065, allocations: 0 / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000299/0.3068, allocations: 40 kB / 0.9859 GB, free: 20.64 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.0008168/0.3076, allocations: 0.8747 MB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.308, allocations: 119.9 kB / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.308, allocations: 0 / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.3081, allocations: 59.91 kB / 0.9869 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.3083, allocations: 16.08 kB / 0.987 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007656/0.3091, allocations: 1.08 MB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.3093, allocations: 0.7043 MB / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.202e-05/0.3093, allocations: 4 kB / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.3094, allocations: 31.42 kB / 0.9887 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.3094, allocations: 0 / 0.9887 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.3234, allocations: 3.005 MB / 0.9917 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.3236, allocations: 251.6 kB / 0.9919 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/1.897, allocations: 4 kB / 0.9919 GB, free: 14.5 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)