Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 252 MB / 267 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009233/0.0009235, allocations: 182.3 kB / 326.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.4 MB / 0.5776 GB, free: 20.49 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000726/0.0007258, allocations: 76 kB / 0.6822 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003707, allocations: 8.969 kB / 0.7965 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2775, allocations: 106.3 MB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001812/0.2793, allocations: 1.203 MB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.2806, allocations: 0.7256 MB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.2807, allocations: 0 / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.2807, allocations: 3.938 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.771e-05/0.2808, allocations: 15.8 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.2814, allocations: 99.77 kB / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.2815, allocations: 63.77 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.2816, allocations: 8 kB / 0.9024 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.945e-05/0.2817, allocations: 35.91 kB / 0.9024 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.2818, allocations: 35.83 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.2818, allocations: 4 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.282, allocations: 83.91 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.282, allocations: 15.91 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.282, allocations: 37.7 kB / 0.9026 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.2822, allocations: 91.83 kB / 0.9027 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2822, allocations: 0 / 0.9027 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.176e-06/0.2822, allocations: 0 / 0.9027 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2822, allocations: 0 / 0.9027 GB, free: 61.67 MB / 0.6042 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.0005934/0.2828, allocations: 413.1 kB / 0.9031 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.2829, allocations: 12.03 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.2829, allocations: 30.56 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.283, allocations: 11.86 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2831, allocations: 170.9 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.2831, allocations: 15.92 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.2832, allocations: 0 / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.2834, allocations: 77.64 kB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2834, allocations: 0 / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2834, allocations: 4 kB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2834, allocations: 0 / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.2836, allocations: 51.89 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.2842, allocations: 316.8 kB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.2843, allocations: 46.56 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.2844, allocations: 36.97 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.2844, allocations: 4 kB / 0.9038 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.2846, allocations: 83.3 kB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.2846, allocations: 0 / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003846/0.285, allocations: 161.5 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.2851, allocations: 51.41 kB / 0.9041 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.2852, allocations: 117.8 kB / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.2852, allocations: 29.7 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.2852, allocations: 96.22 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.2852, allocations: 11.84 kB / 0.9043 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.2853, allocations: 0 / 0.9043 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/0.2853, allocations: 326.8 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.2854, allocations: 23.98 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.2855, allocations: 54.5 kB / 0.9047 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.2856, allocations: 39.92 kB / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2856, allocations: 0 / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002074/0.2858, allocations: 121.5 kB / 0.9049 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2858, allocations: 8 kB / 0.9049 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2858, allocations: 3.938 kB / 0.9049 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2859, allocations: 8.016 kB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.286, allocations: 15.98 kB / 0.9049 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.286, allocations: 0 / 0.9049 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.2861, allocations: 7.906 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.2861, allocations: 7.984 kB / 0.9049 GB, free: 59.11 MB / 0.6042 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 8.873e-05/0.2862, allocations: 117.8 kB / 0.905 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.2862, allocations: 4 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.2862, allocations: 16.38 kB / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2862, allocations: 0 / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2863, allocations: 3.953 kB / 0.9051 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2863, allocations: 4 kB / 0.9051 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.2866, allocations: 382.4 kB / 0.9054 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2866, allocations: 4 kB / 0.9054 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.2867, allocations: 11.98 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2867, allocations: 0 / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2867, allocations: 3.953 kB / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2867, allocations: 0 / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2867, allocations: 0 / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.287, allocations: 219.4 kB / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.287, allocations: 89.05 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.287, allocations: 0 / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.2871, allocations: 7.953 kB / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.2872, allocations: 7.984 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2872, allocations: 0 / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.2872, allocations: 91.92 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2872, allocations: 3.938 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002616/0.2875, allocations: 39.98 kB / 0.9059 GB, free: 58.03 MB / 0.6042 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.0006764/0.2882, allocations: 0.8212 MB / 0.9067 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.2884, allocations: 75.88 kB / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2884, allocations: 0 / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.761e-05/0.2885, allocations: 35.98 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.2888, allocations: 20.06 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/0.2897, allocations: 0.599 MB / 0.9074 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.2898, allocations: 0.6848 MB / 0.9081 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.043e-05/0.2899, allocations: 16.11 kB / 0.9081 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.2899, allocations: 19.44 kB / 0.9081 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2899, allocations: 0 / 0.9081 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.3033, allocations: 2.335 MB / 0.9104 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.3035, allocations: 251.6 kB / 0.9106 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.027, allocations: 0 / 0.9106 GB, free: 53.18 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)