Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.4 MB / 303.3 MB, free: 8.078 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.001027/0.001027, allocations: 186.8 kB / 372 MB, free: 10.28 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.811/1.811, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.000899/0.000899, allocations: 88.56 kB / 0.744 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004296, allocations: 15.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001697/0.2922, allocations: 1.199 MB / 0.9808 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.2935, allocations: 0.7188 MB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.2935, allocations: 3.938 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.2935, allocations: 0 / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.155e-05/0.2936, allocations: 7.938 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.2942, allocations: 103.8 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2943, allocations: 63.78 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2944, allocations: 11.97 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.2945, allocations: 31.92 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.2946, allocations: 35.83 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.2946, allocations: 0 / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.2948, allocations: 95.84 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.2948, allocations: 7.984 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.2949, allocations: 41.64 kB / 0.9819 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.2951, allocations: 92.05 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2951, allocations: 3.938 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2951, allocations: 0 / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2951, 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.0006813/0.2958, allocations: 412.8 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.2959, allocations: 16.02 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.2959, allocations: 34.56 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.296, allocations: 11.89 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2961, allocations: 171 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.2961, allocations: 4 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.2962, allocations: 8 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.2963, allocations: 65.66 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2964, allocations: 0 / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2964, allocations: 4 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2964, allocations: 3.938 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.2965, allocations: 43.97 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.2972, allocations: 320.7 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.2973, allocations: 50.55 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.784e-05/0.2974, allocations: 32.97 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.2974, allocations: 8.047 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.2976, allocations: 91.31 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.2976, allocations: 0 / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003804/0.298, allocations: 145.7 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.2981, allocations: 63.41 kB / 0.9834 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.214e-05/0.2982, allocations: 117.8 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2982, allocations: 29.7 kB / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.979e-05/0.2982, allocations: 92.27 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.2982, allocations: 15.8 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.2983, allocations: 7.938 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.2983, allocations: 322.8 kB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.2984, allocations: 31.98 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.199e-05/0.2985, allocations: 55.41 kB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.41e-05/0.2986, allocations: 31.98 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2986, allocations: 0 / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002119/0.2988, allocations: 121.5 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2988, allocations: 8 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.2989, allocations: 0 / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2989, allocations: 0 / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.299, allocations: 19.92 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.299, allocations: 3.953 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.932e-05/0.2991, allocations: 16.06 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.2991, allocations: 3.984 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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 8.598e-05/0.2992, allocations: 124 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.2992, allocations: 7.844 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.2992, allocations: 12.38 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2992, allocations: 0 / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2993, allocations: 64 / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2993, allocations: 15.89 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.2997, allocations: 378.5 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2997, allocations: 0 / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.2997, allocations: 7.984 kB / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2998, allocations: 0 / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2998, allocations: 0 / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2998, allocations: 7.953 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2998, allocations: 4 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3, allocations: 215.3 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.3001, allocations: 85.02 kB / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.3001, allocations: 4 kB / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.3002, allocations: 11.98 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.3002, allocations: 11.89 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.3003, allocations: 0 / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.3003, allocations: 99.86 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3003, allocations: 0 / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002873/0.3006, allocations: 39.98 kB / 0.9852 GB, free: 21.47 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,occ.y,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.0006897/0.3013, allocations: 0.7991 MB / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3015, allocations: 83.89 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3015, allocations: 0 / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.879e-05/0.3016, allocations: 35.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.0002344/0.3019, allocations: 17.44 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008671/0.3027, allocations: 0.6079 MB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.3029, allocations: 0.6887 MB / 0.9874 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.3029, allocations: 4.188 kB / 0.9874 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.303, allocations: 23.42 kB / 0.9874 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.303, allocations: 4 kB / 0.9874 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.3169, allocations: 2.341 MB / 0.9897 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.3172, allocations: 253.7 kB / 0.99 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.938, allocations: 0 / 0.99 GB, free: 16.61 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)