Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 252 MB / 268 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.001124/0.001124, allocations: 182 kB / 327.6 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 1.756/1.756, allocations: 205.4 MB / 0.5786 GB, free: 20.19 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.000754/0.0007544, allocations: 90.73 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 9.719 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.235, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002339/0.2374, allocations: 1.219 MB / 0.9026 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2394, allocations: 0.7719 MB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.2395, allocations: 0 / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.2395, allocations: 0 / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.919e-05/0.2396, allocations: 11.86 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006566/0.2403, allocations: 95.83 kB / 0.9035 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.2404, allocations: 75.72 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2406, allocations: 15.98 kB / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2407, allocations: 31.91 kB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.2408, allocations: 31.84 kB / 0.9036 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.2408, allocations: 0 / 0.9036 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.2411, allocations: 95.84 kB / 0.9037 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.2411, allocations: 19.91 kB / 0.9038 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.2412, allocations: 53.56 kB / 0.9038 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.2414, allocations: 95.81 kB / 0.9039 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2415, allocations: 0 / 0.9039 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2415, allocations: 4 kB / 0.9039 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2415, allocations: 0 / 0.9039 GB, free: 60.97 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.000666/0.2422, allocations: 409.2 kB / 0.9043 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.2422, allocations: 12.03 kB / 0.9043 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.2423, allocations: 8.844 kB / 0.9043 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2424, allocations: 176.2 kB / 0.9045 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.2425, allocations: 4.312 kB / 0.9045 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.2425, allocations: 4.375 kB / 0.9045 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.2428, allocations: 81.91 kB / 0.9046 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2428, allocations: 0 / 0.9046 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.2428, allocations: 8 kB / 0.9046 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.2428, allocations: 0 / 0.9046 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.2431, allocations: 39.97 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008002/0.2439, allocations: 324.8 kB / 0.9049 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.2441, allocations: 54.48 kB / 0.905 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.2443, allocations: 36.97 kB / 0.905 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.2443, allocations: 4 kB / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.2446, allocations: 83.28 kB / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.2446, allocations: 0 / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005248/0.2451, allocations: 145.6 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.2452, allocations: 55.41 kB / 0.9053 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.2453, allocations: 129.7 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2453, allocations: 25.7 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.2454, allocations: 96.14 kB / 0.9055 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.2454, allocations: 15.81 kB / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.2454, allocations: 4 kB / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.2455, allocations: 322.8 kB / 0.9059 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.2457, allocations: 31.98 kB / 0.9059 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.2458, allocations: 50.55 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.2461, allocations: 78.5 kB / 0.906 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2461, allocations: 0 / 0.906 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003998/0.2466, allocations: 121.5 kB / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.2466, allocations: 11.94 kB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2466, allocations: 0 / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2466, allocations: 0 / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.2468, allocations: 15.98 kB / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2468, allocations: 0 / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2469, allocations: 11.92 kB / 0.9062 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.247, allocations: 4 kB / 0.9062 GB, free: 58.41 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 0.0001216/0.2471, allocations: 129.8 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.2471, allocations: 7.906 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.2472, allocations: 4.375 kB / 0.9063 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.2472, allocations: 4 kB / 0.9063 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.2472, allocations: 3.984 kB / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2472, allocations: 0 / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000602/0.2479, allocations: 390.8 kB / 0.9067 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2479, allocations: 0 / 0.9067 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.248, allocations: 11.94 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.248, allocations: 0 / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.248, allocations: 0 / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.248, allocations: 80 / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.248, allocations: 7.922 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.2485, allocations: 219.4 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.2485, allocations: 85.02 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.2485, allocations: 0 / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.2487, allocations: 7.984 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.2488, allocations: 7.938 kB / 0.907 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.2488, allocations: 7.984 kB / 0.907 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.672e-05/0.2489, allocations: 95.28 kB / 0.9071 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2489, allocations: 0 / 0.9071 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000519/0.2494, allocations: 43.92 kB / 0.9071 GB, free: 57.3 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.000449/0.2499, allocations: 164.2 kB / 0.9073 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003552/0.2503, allocations: 83.94 kB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2503, allocations: 0 / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.2505, allocations: 35.92 kB / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.2509, allocations: 14.34 kB / 0.9074 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.2514, allocations: 235 kB / 0.9077 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2516, allocations: 0.6887 MB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.2516, allocations: 7.438 kB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.2516, allocations: 0 / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.004586/0.2562, allocations: 1.609 MB / 0.9099 GB, free: 54.43 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)