Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.617/1.617, allocations: 252 MB / 267.3 MB, free: 10.86 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.001148/0.001147, allocations: 168.1 kB / 327 MB, free: 2.102 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.652/2.652, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0009391/0.0009391, allocations: 97.61 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005535/0.0005536, allocations: 10.78 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3621, allocations: 106.4 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002275/0.3644, allocations: 1.308 MB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.3662, allocations: 0.8109 MB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.3663, allocations: 4 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.3663, allocations: 3.938 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.3665, allocations: 11.86 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.3671, allocations: 127.7 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3673, allocations: 127.6 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3675, allocations: 16 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.3676, allocations: 59.75 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3678, allocations: 59.81 kB / 0.9034 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.3678, allocations: 7.984 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.3681, allocations: 87.92 kB / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.3681, allocations: 35.81 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.3682, allocations: 73.42 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.3686, allocations: 183.7 kB / 0.9038 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3686, allocations: 8 kB / 0.9038 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.566e-06/0.3686, allocations: 3.984 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3686, allocations: 0 / 0.9038 GB, free: 60.43 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008681/0.3695, allocations: 458.6 kB / 0.9042 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.275e-05/0.3696, allocations: 12.03 kB / 0.9042 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.3e-05/0.3697, allocations: 34.75 kB / 0.9043 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.3697, allocations: 8.844 kB / 0.9043 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3699, allocations: 191.9 kB / 0.9044 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.3699, allocations: 12.36 kB / 0.9045 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.37, allocations: 7.938 kB / 0.9045 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.3703, allocations: 105.5 kB / 0.9046 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3703, allocations: 0 / 0.9046 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.3703, allocations: 4 kB / 0.9046 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3703, allocations: 3.938 kB / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.3706, allocations: 75.95 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.3716, allocations: 380.6 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.3719, allocations: 74.48 kB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.372, allocations: 60.83 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3721, allocations: 4 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.3724, allocations: 103.3 kB / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.913e-06/0.3724, allocations: 0 / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0007473/0.3732, allocations: 233.3 kB / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.3732, allocations: 55.41 kB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3734, allocations: 149.7 kB / 0.9057 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3734, allocations: 33.69 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.3735, allocations: 92.38 kB / 0.9058 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.3735, allocations: 31.78 kB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.3735, allocations: 4 kB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.3736, allocations: 322.8 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.3738, allocations: 35.98 kB / 0.9062 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.374, allocations: 88.25 kB / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.3744, allocations: 120.2 kB / 0.9063 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3744, allocations: 0 / 0.9063 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004748/0.3749, allocations: 169.4 kB / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3749, allocations: 4 kB / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.3749, allocations: 0 / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.375, allocations: 4.109 kB / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.3752, allocations: 27.92 kB / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.3752, allocations: 4 kB / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.3754, allocations: 23.98 kB / 0.9066 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3754, allocations: 4 kB / 0.9066 GB, free: 57.29 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.3756, allocations: 128.7 kB / 0.9067 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.3756, allocations: 7.906 kB / 0.9067 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.3757, allocations: 16.7 kB / 0.9067 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3757, allocations: 3.938 kB / 0.9067 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3757, allocations: 3.938 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3757, allocations: 4 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007854/0.3765, allocations: 466.3 kB / 0.9072 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3765, allocations: 0 / 0.9072 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.3766, allocations: 15.92 kB / 0.9072 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3766, allocations: 4 kB / 0.9072 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.3767, allocations: 4 kB / 0.9072 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3767, allocations: 0 / 0.9072 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3767, allocations: 3.938 kB / 0.9072 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.3773, allocations: 279.3 kB / 0.9075 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.3773, allocations: 92.98 kB / 0.9076 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.3774, allocations: 3.938 kB / 0.9076 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.3776, allocations: 15.98 kB / 0.9076 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.3777, allocations: 4 kB / 0.9076 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.3777, allocations: 3.984 kB / 0.9076 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.285e-05/0.3778, allocations: 106.6 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3778, allocations: 4 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005202/0.3783, allocations: 47.98 kB / 0.9077 GB, free: 56 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001159/0.3795, allocations: 0.8717 MB / 0.9086 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.38, allocations: 119.9 kB / 0.9087 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.38, allocations: 3.938 kB / 0.9087 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.3802, allocations: 63.91 kB / 0.9088 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.3807, allocations: 8 kB / 0.9088 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.3833, allocations: 1.766 MB / 0.9105 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.3836, allocations: 0.6924 MB / 0.9112 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.436e-05/0.3837, allocations: 11.98 kB / 0.9112 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/0.3838, allocations: 31.42 kB / 0.9112 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.3838, allocations: 192 / 0.9112 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.4048, allocations: 3.026 MB / 0.9142 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/0.4052, allocations: 283.6 kB / 0.9144 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.022, allocations: 1.562 kB / 0.9144 GB, free: 49.08 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)