Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008033/0.0008033, allocations: 97.8 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004981/0.004982, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005403/0.0005403, allocations: 16.88 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2579, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.00178/0.2598, allocations: 1.227 MB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.261, allocations: 0.7528 MB / 0.7898 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.261, allocations: 4 kB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.2611, allocations: 0 / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.628e-05/0.2611, allocations: 15.84 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.2616, allocations: 103.8 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2617, allocations: 63.84 kB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.2618, allocations: 11.98 kB / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.498e-05/0.2619, allocations: 39.84 kB / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.262, allocations: 31.91 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.262, allocations: 4 kB / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.2622, allocations: 91.84 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.2622, allocations: 19.91 kB / 0.7902 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.2623, allocations: 49.56 kB / 0.7902 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.2625, allocations: 139.9 kB / 0.7904 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2625, allocations: 0 / 0.7904 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2625, allocations: 0 / 0.7904 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2625, allocations: 3.938 kB / 0.7904 GB, free: 9.008 MB / 0.6075 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.0005989/0.2631, allocations: 405 kB / 0.7907 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2632, allocations: 12.03 kB / 0.7908 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.2632, allocations: 8.844 kB / 0.7908 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.2634, allocations: 188 kB / 0.7909 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.2634, allocations: 4.375 kB / 0.7909 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.2635, allocations: 8.359 kB / 0.791 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.2637, allocations: 73.97 kB / 0.791 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.2637, allocations: 0 / 0.791 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2637, allocations: 8 kB / 0.791 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2637, allocations: 0 / 0.791 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.2639, allocations: 39.97 kB / 0.7911 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.2644, allocations: 320.7 kB / 0.7914 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.2646, allocations: 50.56 kB / 0.7914 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.2647, allocations: 40.97 kB / 0.7915 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.2647, allocations: 3.984 kB / 0.7915 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.2649, allocations: 71.39 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.2649, allocations: 0 / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003958/0.2653, allocations: 161.5 kB / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.2654, allocations: 55.41 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.2654, allocations: 113.8 kB / 0.7919 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.2655, allocations: 37.69 kB / 0.7919 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.2655, allocations: 84.14 kB / 0.792 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.2656, allocations: 19.75 kB / 0.792 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.2656, allocations: 21.7 kB / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2657, allocations: 322.8 kB / 0.7923 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.2658, allocations: 31.97 kB / 0.7923 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.2659, allocations: 51.42 kB / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.2661, allocations: 91.34 kB / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2661, allocations: 0 / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002385/0.2663, allocations: 129.5 kB / 0.7926 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2663, allocations: 7.938 kB / 0.7926 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2663, allocations: 0 / 0.7926 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2664, allocations: 4 kB / 0.7926 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.2665, allocations: 11.98 kB / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.2665, allocations: 4 kB / 0.7926 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.862e-05/0.2666, allocations: 11.91 kB / 0.7926 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.2666, allocations: 7.984 kB / 0.7927 GB, free: 6.402 MB / 0.6075 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 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 9.419e-05/0.2667, allocations: 126.6 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.2667, allocations: 4 kB / 0.7928 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.2667, allocations: 8.375 kB / 0.7928 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2667, allocations: 4 kB / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2667, allocations: 3.938 kB / 0.7928 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2668, allocations: 3.984 kB / 0.7928 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.2672, allocations: 386.6 kB / 0.7932 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2672, allocations: 0 / 0.7932 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/0.2672, allocations: 11.92 kB / 0.7932 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2673, allocations: 4 kB / 0.7932 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.2673, allocations: 4 kB / 0.7932 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2673, allocations: 0 / 0.7932 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.2673, allocations: 3.938 kB / 0.7932 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.2676, allocations: 219.5 kB / 0.7934 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.2676, allocations: 81.16 kB / 0.7935 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2676, allocations: 3.984 kB / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.2677, allocations: 11.98 kB / 0.7935 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.2678, allocations: 7.938 kB / 0.7935 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.2678, allocations: 0 / 0.7935 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.353e-05/0.2678, allocations: 95.27 kB / 0.7936 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2678, allocations: 4 kB / 0.7936 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002815/0.2681, allocations: 39.98 kB / 0.7936 GB, free: 5.301 MB / 0.6075 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.0003356/0.2685, allocations: 166.8 kB / 0.7938 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.2687, allocations: 75.95 kB / 0.7939 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2687, allocations: 7.938 kB / 0.7939 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.302e-05/0.2688, allocations: 35.97 kB / 0.7939 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.2691, allocations: 10.81 kB / 0.7939 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.2695, allocations: 209.2 kB / 0.7941 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.2697, allocations: 0.6887 MB / 0.7948 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.2697, allocations: 4 kB / 0.7948 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.2698, allocations: 15.42 kB / 0.7948 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of SimCode: time 1.282e-06/0.2698, allocations: 4 kB / 0.7948 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of Templates: time 0.003579/0.2734, allocations: 1.361 MB / 0.7961 GB, free: 2.695 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) Environment - environmentSimulation: