Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.767/2.767, allocations: 287.3 MB / 302.3 MB, free: 8.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 182.7 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 92.17 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007613/0.0007617, allocations: 21.72 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2784, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.001457/0.2799, allocations: 0.5177 MB / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002963/0.283, allocations: 1.29 MB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2831, allocations: 4 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.2832, allocations: 7.922 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.2834, allocations: 23.94 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.2849, allocations: 257.6 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.2854, allocations: 195.7 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.2856, allocations: 29.09 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.2858, allocations: 127.8 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.2861, allocations: 127.6 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.706e-05/0.2862, allocations: 20 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.2864, allocations: 31.94 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.2865, allocations: 51.86 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.2867, allocations: 77.64 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.2871, allocations: 235.6 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2872, allocations: 4 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.047e-06/0.2872, allocations: 0 / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.2872, allocations: 3.938 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001503/0.2887, allocations: 0.5402 MB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.2888, allocations: 12.02 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.289, allocations: 31.81 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.2908, allocations: 303.1 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.2e-05/0.291, allocations: 28.22 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.2912, allocations: 43.97 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009548/0.2922, allocations: 255.2 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.2922, allocations: 0 / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.2923, allocations: 11.98 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2924, allocations: 4 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.2929, allocations: 124.6 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.2949, allocations: 0.6093 MB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.2962, allocations: 415.6 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.2962, allocations: 4 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.2975, allocations: 354.9 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 5.229e-06/0.2975, allocations: 7.938 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.00238/0.2999, allocations: 0.6611 MB / 0.9844 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.3, allocations: 67.36 kB / 0.9845 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.3002, allocations: 145.9 kB / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.3004, allocations: 49.69 kB / 0.9847 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3006, allocations: 101 kB / 0.9848 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.3007, allocations: 110.7 kB / 0.9849 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.3008, allocations: 16 kB / 0.9849 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3009, allocations: 338.8 kB / 0.9852 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/0.3016, allocations: 141.1 kB / 0.9853 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007432/0.3024, allocations: 292.6 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.3031, allocations: 208.6 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.3031, allocations: 0 / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001938/0.3051, allocations: 0.5658 MB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.152e-05/0.3052, allocations: 65.91 kB / 0.9864 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.3052, allocations: 7.984 kB / 0.9864 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/0.3053, allocations: 8.594 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.3057, allocations: 39.86 kB / 0.9865 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.548e-05/0.3057, allocations: 19.89 kB / 0.9865 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.3069, allocations: 123.6 kB / 0.9866 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.3071, allocations: 27.98 kB / 0.9866 GB, free: 19.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition16,$whenCondition12,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y,con.y,$whenCondition4,noThr.reset,$whenCondition8,thrTim.reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003938/0.3075, allocations: 178.9 kB / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3076, allocations: 39.7 kB / 0.9869 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.57e-05/0.3077, allocations: 22.31 kB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.3078, allocations: 4 kB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.3078, allocations: 0 / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3078, allocations: 7.938 kB / 0.9869 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.311, allocations: 1.011 MB / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.3111, allocations: 0 / 0.9879 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.3113, allocations: 19.92 kB / 0.9879 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/0.3113, allocations: 7.953 kB / 0.9879 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.059e-05/0.3114, allocations: 19.97 kB / 0.9879 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.3115, allocations: 7.938 kB / 0.9879 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3115, allocations: 3.984 kB / 0.9879 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.3133, allocations: 0.6127 MB / 0.9885 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3134, allocations: 100.8 kB / 0.9886 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.3136, allocations: 23.94 kB / 0.9886 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004926/0.3141, allocations: 35.95 kB / 0.9887 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.3143, allocations: 43.92 kB / 0.9887 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-05/0.3144, allocations: 39.91 kB / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001074/0.3145, allocations: 99.2 kB / 0.9889 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.82e-07/0.3146, allocations: 0 / 0.9889 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009665/0.3155, allocations: 104 kB / 0.989 GB, free: 16.92 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003524/0.3159, allocations: 147.7 kB / 0.9891 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.3177, allocations: 0.5336 MB / 0.9896 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.3177, allocations: 0 / 0.9896 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007951/0.3185, allocations: 300.1 kB / 0.9899 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.3191, allocations: 33.16 kB / 0.9899 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3208, allocations: 486.4 kB / 0.9904 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3211, allocations: 0.7335 MB / 0.9911 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002861/0.3214, allocations: 38.95 kB / 0.9912 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.3216, allocations: 31.44 kB / 0.9912 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of SimCode: time 1.664e-06/0.3216, allocations: 0 / 0.9912 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.01598/0.3376, allocations: 3.717 MB / 0.9948 GB, free: 10.86 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)