Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.696/1.696, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001541/0.001541, allocations: 187.8 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001004/0.001004, allocations: 99.66 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004635, allocations: 9 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3168, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002236/0.3191, allocations: 1.207 MB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3206, allocations: 0.7225 MB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.3206, allocations: 0 / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.3207, allocations: 3.938 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.281e-05/0.3207, allocations: 15.97 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.3212, allocations: 91.7 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.3213, allocations: 43.88 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.3214, allocations: 19.98 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.3215, allocations: 27.91 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.3216, allocations: 31.91 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.3216, allocations: 7.938 kB / 0.9023 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.3218, allocations: 67.92 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.3218, allocations: 7.984 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.3219, allocations: 37.64 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.3221, allocations: 103.8 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3221, allocations: 0 / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3221, allocations: 0 / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3221, allocations: 0 / 0.9025 GB, free: 61.47 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.0006602/0.3228, allocations: 405.2 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3228, allocations: 12.03 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.3229, allocations: 34.56 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.3229, allocations: 11.86 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3231, allocations: 182.8 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.3231, allocations: 0 / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.3231, allocations: 8 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.3234, allocations: 69.64 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3234, allocations: 4 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3234, allocations: 0 / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3234, allocations: 0 / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.3236, allocations: 51.89 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.3242, allocations: 316.8 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3244, allocations: 54.5 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3244, allocations: 3.984 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.3246, allocations: 79.45 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.654e-06/0.3247, allocations: 0 / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004491/0.3251, allocations: 165.5 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.3252, allocations: 51.41 kB / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.3252, allocations: 117.8 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3253, allocations: 29.69 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.3253, allocations: 96.23 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.3253, allocations: 11.84 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.3254, allocations: 8 kB / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.3254, allocations: 314.8 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.625e-05/0.3255, allocations: 31.98 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3256, allocations: 50.55 kB / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.3258, allocations: 32 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3258, allocations: 0 / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000262/0.326, allocations: 121.5 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3261, allocations: 4 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3261, allocations: 4.062 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3261, allocations: 8 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3262, allocations: 19.88 kB / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3262, allocations: 0 / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-05/0.3263, allocations: 19.89 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.3263, allocations: 0 / 0.9047 GB, free: 58.96 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.431e-05/0.3264, allocations: 123.2 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.3265, allocations: 0 / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.3265, allocations: 16.38 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3265, allocations: 0 / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3265, allocations: 3.953 kB / 0.9048 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3265, allocations: 7.922 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.327, allocations: 378.4 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.327, allocations: 3.984 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.327, allocations: 8 kB / 0.9052 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.327, allocations: 0 / 0.9052 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3271, allocations: 7.953 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3271, allocations: 4 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3271, allocations: 0 / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.3274, allocations: 219.3 kB / 0.9054 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.3274, allocations: 85.05 kB / 0.9055 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.3274, allocations: 0 / 0.9055 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3276, allocations: 19.88 kB / 0.9055 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.3276, allocations: 4 kB / 0.9055 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3277, allocations: 7.984 kB / 0.9055 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.3277, allocations: 87.28 kB / 0.9056 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3277, allocations: 0 / 0.9056 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000426/0.3281, allocations: 39.98 kB / 0.9057 GB, free: 57.87 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.0007519/0.3289, allocations: 0.8112 MB / 0.9064 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.3292, allocations: 71.97 kB / 0.9065 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3292, allocations: 0 / 0.9065 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3293, allocations: 44.03 kB / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.3296, allocations: 15.94 kB / 0.9066 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.3303, allocations: 0.7166 MB / 0.9073 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.3305, allocations: 0.6926 MB / 0.9079 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.556e-05/0.3305, allocations: 4.188 kB / 0.908 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.3306, allocations: 23.38 kB / 0.908 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.3306, allocations: 4 kB / 0.908 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.3454, allocations: 2.312 MB / 0.9102 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.3457, allocations: 264.8 kB / 0.9105 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/1.945, allocations: 0 / 0.9105 GB, free: 52.93 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)