Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.207/2.207, allocations: 252 MB / 267.3 MB, free: 10.85 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.001674/0.001674, allocations: 176.5 kB / 327 MB, free: 2.094 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.61/2.61, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0009763/0.0009764, allocations: 92.3 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005216, allocations: 17.09 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3527, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002108/0.3548, allocations: 1.219 MB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3563, allocations: 0.772 MB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.3564, allocations: 0 / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.3564, allocations: 3.984 kB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.3565, allocations: 7.875 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.357, allocations: 99.83 kB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.3571, allocations: 83.69 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3573, allocations: 4 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3574, allocations: 31.92 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.3575, allocations: 39.81 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.3575, allocations: 4 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.3577, allocations: 91.84 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.3577, allocations: 23.86 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.3578, allocations: 53.56 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.358, allocations: 127.7 kB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.358, allocations: 0 / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.358, allocations: 0 / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.358, allocations: 0 / 0.9034 GB, free: 60.84 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.0006214/0.3587, allocations: 405.3 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3587, allocations: 16.03 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.3588, allocations: 34.75 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.3588, allocations: 8.844 kB / 0.9038 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3589, allocations: 180.2 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.359, allocations: 8.359 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.359, allocations: 8.375 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.3592, allocations: 69.78 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3592, allocations: 0 / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3592, allocations: 0 / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3592, allocations: 4 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.3594, allocations: 43.97 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.36, allocations: 328.6 kB / 0.9045 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.3601, allocations: 46.56 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.81e-05/0.3602, allocations: 32.97 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3602, allocations: 7.938 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.3604, allocations: 87.44 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.3604, allocations: 0 / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003992/0.3608, allocations: 153.5 kB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3609, allocations: 55.41 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.361, allocations: 125.7 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.361, allocations: 25.7 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.361, allocations: 96.12 kB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.361, allocations: 15.75 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.3611, allocations: 4 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.3611, allocations: 322.8 kB / 0.9054 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.3612, allocations: 27.98 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.633e-05/0.3613, allocations: 55.42 kB / 0.9055 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.3616, allocations: 91.34 kB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3616, allocations: 0 / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002878/0.3619, allocations: 121.4 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3619, allocations: 11.98 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3619, allocations: 0 / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3619, allocations: 0 / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.362, allocations: 16.06 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.362, allocations: 0 / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.103e-05/0.3621, allocations: 19.92 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.3621, allocations: 0 / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$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 (11): * Single equations (assignments): 11 * 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 7.357e-05/0.3622, allocations: 125.7 kB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.3622, allocations: 7.906 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.3623, allocations: 12.36 kB / 0.9059 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3623, allocations: 4 kB / 0.9059 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3623, allocations: 3.938 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3623, allocations: 0 / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.3627, allocations: 382.5 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3627, allocations: 0 / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.3627, allocations: 11.94 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3627, allocations: 4 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.3628, allocations: 7.984 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3628, allocations: 3.938 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3628, allocations: 0 / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.363, allocations: 211.4 kB / 0.9065 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.363, allocations: 88.95 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3631, allocations: 11.98 kB / 0.9066 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.3632, allocations: 7.938 kB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.3632, allocations: 3.984 kB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.3632, allocations: 4 kB / 0.9066 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.3633, allocations: 91.27 kB / 0.9067 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3633, allocations: 0 / 0.9067 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002862/0.3636, allocations: 36 kB / 0.9067 GB, free: 57.12 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,occ.y,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 (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.0006934/0.3643, allocations: 0.8187 MB / 0.9075 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3645, allocations: 79.89 kB / 0.9076 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3645, allocations: 0 / 0.9076 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/0.3646, allocations: 35.98 kB / 0.9076 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3649, allocations: 16.06 kB / 0.9076 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3663, allocations: 1.54 MB / 0.9091 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.3664, allocations: 0.6947 MB / 0.9098 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.003e-05/0.3665, allocations: 7.984 kB / 0.9098 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.3665, allocations: 19.44 kB / 0.9098 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.3665, allocations: 0 / 0.9098 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.3817, allocations: 2.329 MB / 0.9121 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/0.382, allocations: 267.3 kB / 0.9124 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/3.092, allocations: 5.969 kB / 0.9124 GB, free: 51.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)