Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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 2.331/2.331, 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.002252/0.002251, allocations: 169.3 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.58/3.58, 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.001182/0.001183, allocations: 86.36 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005951/0.0005952, allocations: 9.906 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3575, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002347/0.36, allocations: 1.363 MB / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.3615, allocations: 0.8148 MB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.3616, allocations: 8 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.3616, allocations: 7.922 kB / 0.9031 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.116e-05/0.3617, allocations: 15.8 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.3624, allocations: 135.7 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.3626, allocations: 143.5 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3628, allocations: 21.12 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.3629, allocations: 59.81 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.363, allocations: 71.72 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.3631, allocations: 8 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.3633, allocations: 95.84 kB / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.3634, allocations: 23.91 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.511e-05/0.3635, allocations: 81.41 kB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.3638, allocations: 203.7 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3638, allocations: 0 / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.998e-06/0.3638, allocations: 0 / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.3638, allocations: 0 / 0.9039 GB, free: 60.32 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009124/0.3648, allocations: 0.5174 MB / 0.9044 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.3648, allocations: 12.03 kB / 0.9044 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.608e-05/0.3649, allocations: 42.73 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.3649, allocations: 8.844 kB / 0.9044 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.3651, allocations: 191.1 kB / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.3651, allocations: 8.359 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.3651, allocations: 8.375 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.3656, allocations: 153.7 kB / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3657, allocations: 0 / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.3657, allocations: 4 kB / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3657, allocations: 4 kB / 0.9048 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.3661, allocations: 127.9 kB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009288/0.3671, allocations: 400.5 kB / 0.9053 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.3675, allocations: 118.5 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.3678, allocations: 96.8 kB / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.3679, allocations: 4.156 kB / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004863/0.3683, allocations: 163.3 kB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.3684, allocations: 3.938 kB / 0.9057 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.00114/0.3695, allocations: 353.3 kB / 0.906 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.3696, allocations: 51.41 kB / 0.906 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3697, allocations: 150.5 kB / 0.9062 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3697, allocations: 29.7 kB / 0.9062 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.3698, allocations: 108.2 kB / 0.9063 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.3698, allocations: 19.72 kB / 0.9063 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.3699, allocations: 4 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.37, allocations: 326.8 kB / 0.9067 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.3701, allocations: 47.97 kB / 0.9067 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.3703, allocations: 88.11 kB / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.3706, allocations: 137 kB / 0.9069 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3706, allocations: 0 / 0.9069 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003831/0.371, allocations: 177.4 kB / 0.9071 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.371, allocations: 4 kB / 0.9071 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3711, allocations: 4 kB / 0.9071 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.3711, allocations: 0 / 0.9071 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.3713, allocations: 23.98 kB / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.3714, allocations: 4 kB / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.3715, allocations: 27.89 kB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3715, allocations: 7.938 kB / 0.9072 GB, free: 56.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$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 (13): * Single equations (assignments): 13 * 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.0001391/0.3717, allocations: 125.8 kB / 0.9073 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.3717, allocations: 11.91 kB / 0.9073 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.3718, allocations: 9.094 kB / 0.9073 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.3718, allocations: 0 / 0.9073 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3718, allocations: 4 kB / 0.9073 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3718, allocations: 0 / 0.9073 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.3729, allocations: 0.5607 MB / 0.9078 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.3729, allocations: 0 / 0.9078 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.373, allocations: 19.98 kB / 0.9079 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.373, allocations: 0 / 0.9079 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.373, allocations: 3.984 kB / 0.9079 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.373, allocations: 3.938 kB / 0.9079 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.373, allocations: 0 / 0.9079 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.3738, allocations: 367.1 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.3739, allocations: 89.05 kB / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.3739, allocations: 3.938 kB / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.3741, allocations: 39.89 kB / 0.9084 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/0.3742, allocations: 11.98 kB / 0.9084 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.3743, allocations: 7.984 kB / 0.9084 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.557e-05/0.3743, allocations: 110.2 kB / 0.9085 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3744, allocations: 0 / 0.9085 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003988/0.3748, allocations: 47.98 kB / 0.9085 GB, free: 55.18 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00142/0.3762, allocations: 0.9473 MB / 0.9094 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005688/0.3768, allocations: 163.8 kB / 0.9096 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3768, allocations: 4 kB / 0.9096 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.3771, allocations: 108.1 kB / 0.9097 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3775, allocations: 11.94 kB / 0.9097 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.3802, allocations: 1.849 MB / 0.9115 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.3806, allocations: 0.7043 MB / 0.9122 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.183e-05/0.3807, allocations: 7.984 kB / 0.9122 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.3808, allocations: 31.61 kB / 0.9123 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.3808, allocations: 0 / 0.9123 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.3963, allocations: 3.095 MB / 0.9153 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/0.3966, allocations: 288.8 kB / 0.9155 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/3.124, allocations: 3.938 kB / 0.9156 GB, free: 47.93 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)