Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.854/1.854, 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.001157/0.001157, allocations: 171.1 kB / 327 MB, free: 2.109 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.706/2.706, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0009122/0.0009122, allocations: 84.72 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003718, allocations: 10.41 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.351, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002503/0.3536, allocations: 1.223 MB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.3556, allocations: 0.768 MB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.001e-05/0.3558, allocations: 0 / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.3558, allocations: 0 / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3559, allocations: 11.88 kB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008446/0.3568, allocations: 111.7 kB / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3569, allocations: 71.81 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3571, allocations: 8 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3572, allocations: 23.92 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3574, allocations: 43.81 kB / 0.9031 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.3574, allocations: 4 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.3577, allocations: 87.84 kB / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.3578, allocations: 19.86 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.3579, allocations: 57.56 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.3582, allocations: 127.7 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.3583, allocations: 8 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3583, allocations: 0 / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.3583, allocations: 0 / 0.9034 GB, free: 60.79 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.0006479/0.359, allocations: 405.3 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.359, allocations: 8.031 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.3591, allocations: 38.73 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.3591, allocations: 8.844 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3592, allocations: 180.2 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.3593, allocations: 4.375 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.3593, allocations: 4.375 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3595, allocations: 77.78 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3595, allocations: 0 / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3595, allocations: 3.984 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3595, allocations: 4 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3597, allocations: 39.98 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.3603, allocations: 332.6 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.3605, allocations: 50.56 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.369e-05/0.3606, allocations: 36.91 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.3606, allocations: 0 / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.3608, allocations: 83.38 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3608, allocations: 0 / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004142/0.3612, allocations: 141.8 kB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.3613, allocations: 59.39 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3614, allocations: 125.8 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.3614, allocations: 29.7 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.3615, allocations: 92.12 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.3615, allocations: 19.81 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.3615, allocations: 0 / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.3616, allocations: 322.8 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.3617, allocations: 31.97 kB / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.3619, allocations: 54.94 kB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.3621, allocations: 86.55 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3621, allocations: 4 kB / 0.9055 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002293/0.3624, allocations: 113.5 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3624, allocations: 4 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.3624, allocations: 4 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3624, allocations: 0 / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.3625, allocations: 19.92 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3626, allocations: 8.062 kB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.3626, allocations: 7.938 kB / 0.9057 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.3627, allocations: 4 kB / 0.9057 GB, free: 58.19 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.691e-05/0.3628, allocations: 117.8 kB / 0.9058 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.3628, allocations: 11.89 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.3628, allocations: 12.31 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3628, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3628, allocations: 4 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3629, allocations: 4 kB / 0.9058 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.3633, allocations: 386.4 kB / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3633, allocations: 0 / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.3633, allocations: 4 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3634, allocations: 0 / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3634, allocations: 11.98 kB / 0.9062 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3634, allocations: 3.938 kB / 0.9062 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3634, allocations: 0 / 0.9062 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3637, allocations: 215.4 kB / 0.9064 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.3637, allocations: 88.94 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.3638, allocations: 11.98 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.3638, allocations: 7.938 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.3639, allocations: 3.984 kB / 0.9065 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3639, allocations: 4 kB / 0.9066 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.963e-05/0.364, allocations: 91.27 kB / 0.9066 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.364, allocations: 0 / 0.9066 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003399/0.3643, allocations: 36 kB / 0.9067 GB, free: 57.09 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 (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.0008467/0.3652, allocations: 0.8189 MB / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.3655, allocations: 79.89 kB / 0.9075 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3655, allocations: 0 / 0.9075 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.842e-05/0.3656, allocations: 39.92 kB / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.366, allocations: 9.359 kB / 0.9076 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.3676, allocations: 1.523 MB / 0.9091 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.3678, allocations: 0.6926 MB / 0.9098 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.367e-05/0.3679, allocations: 7.938 kB / 0.9098 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.368, allocations: 27.42 kB / 0.9098 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.368, allocations: 0 / 0.9098 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.3847, allocations: 2.342 MB / 0.9121 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.3851, allocations: 289 kB / 0.9124 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/2.939, allocations: 0 / 0.9124 GB, free: 51.26 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)