Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.676/1.676, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.00108/0.00108, allocations: 177.9 kB / 371.8 MB, free: 10.29 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.112/2.112, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001267/0.001267, allocations: 86.92 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004591, allocations: 11.59 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.289, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001674/0.2907, allocations: 1.184 MB / 0.9806 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.2918, allocations: 0.7229 MB / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.2919, allocations: 0 / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.2919, allocations: 3.938 kB / 0.9814 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-05/0.292, allocations: 19.95 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.2925, allocations: 87.7 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.399e-05/0.2926, allocations: 43.94 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2927, allocations: 12 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.2928, allocations: 31.91 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.2929, allocations: 35.83 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2929, allocations: 0 / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.293, allocations: 71.88 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.2931, allocations: 15.92 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.2931, allocations: 33.69 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.2933, allocations: 104 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2933, allocations: 0 / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.036e-06/0.2933, allocations: 0 / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2933, allocations: 0 / 0.9818 GB, free: 25.21 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.0006205/0.2939, allocations: 404.8 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.294, allocations: 8.031 kB / 0.9822 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.294, allocations: 42.55 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.2941, allocations: 3.906 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.2942, allocations: 178.8 kB / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.2942, allocations: 4 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.2942, allocations: 7.938 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.2944, allocations: 73.66 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2945, allocations: 0 / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2945, allocations: 3.984 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2945, allocations: 4 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.2946, allocations: 35.98 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.2952, allocations: 332.6 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.2953, allocations: 50.56 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.2954, allocations: 4 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.2956, allocations: 83.48 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2956, allocations: 0 / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003758/0.2959, allocations: 153.5 kB / 0.9831 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.296, allocations: 55.36 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.2961, allocations: 125.8 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2961, allocations: 25.7 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.2961, allocations: 92.27 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.2962, allocations: 15.8 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.2962, allocations: 4 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.2963, allocations: 314.8 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.2963, allocations: 35.97 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.809e-05/0.2964, allocations: 50.94 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.927e-05/0.2965, allocations: 35.92 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2965, allocations: 7.938 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001908/0.2967, allocations: 117.8 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2967, allocations: 8 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2967, allocations: 0 / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2968, allocations: 0 / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.74e-05/0.2969, allocations: 15.98 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.2969, allocations: 12.08 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/0.2969, allocations: 4 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.297, allocations: 8 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$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 7.856e-05/0.297, allocations: 120.8 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.2971, allocations: 11.89 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.2971, allocations: 12.38 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2971, allocations: 4 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2971, allocations: 4 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2971, allocations: 3.953 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.2975, allocations: 378.5 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2975, allocations: 0 / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.2975, allocations: 8 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2976, allocations: 0 / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2976, allocations: 11.92 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2976, allocations: 7.891 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2976, allocations: 0 / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.2978, allocations: 215.4 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.2979, allocations: 89 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2979, allocations: 4 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.298, allocations: 4 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.298, allocations: 15.94 kB / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.2981, allocations: 0 / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.634e-05/0.2981, allocations: 91.27 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2981, allocations: 0 / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002606/0.2984, allocations: 36 kB / 0.985 GB, free: 21.61 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,win.occ,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.0006666/0.299, allocations: 0.8102 MB / 0.9858 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.2993, allocations: 79.89 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2993, allocations: 0 / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/0.2994, allocations: 35.98 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.2995, allocations: 17.52 kB / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/0.3002, allocations: 0.729 MB / 0.9866 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.3003, allocations: 0.6887 MB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.3004, allocations: 4.188 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.3004, allocations: 23.42 kB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.3004, allocations: 0 / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.3139, allocations: 2.315 MB / 0.9896 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.3142, allocations: 249 kB / 0.9898 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/1.817, allocations: 4 kB / 0.9898 GB, free: 16.65 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)