Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001998/0.001998, allocations: 190.3 kB / 16.25 MB, free: 6.629 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.66/1.66, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.717/1.717, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001386/0.001386, allocations: 69.45 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3348, allocations: 114.5 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004641/0.3395, allocations: 2.048 MB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002408/0.3419, allocations: 1.093 MB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.3422, allocations: 3.938 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.3427, allocations: 151.6 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.3432, allocations: 147.5 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.3438, allocations: 179.4 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004975/0.3443, allocations: 315.2 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.3445, allocations: 44.39 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.3448, allocations: 147.4 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.345, allocations: 155.4 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.3451, allocations: 12 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.3453, allocations: 63.97 kB / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.3454, allocations: 87.67 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.3455, allocations: 123.2 kB / 0.7873 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.346, allocations: 367 kB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.346, allocations: 0 / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.346, allocations: 0 / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.346, allocations: 0 / 0.7876 GB, free: 9 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001155/0.3472, allocations: 0.6224 MB / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3473, allocations: 8.031 kB / 0.7883 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.3474, allocations: 36.47 kB / 0.7883 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.348, allocations: 370.4 kB / 0.7886 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.348, allocations: 8.375 kB / 0.7887 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.348, allocations: 19.86 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.3483, allocations: 108.3 kB / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3483, allocations: 0 / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3484, allocations: 4 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3484, allocations: 4 kB / 0.7888 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.3486, allocations: 67.86 kB / 0.7889 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008785/0.3495, allocations: 496.4 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.3498, allocations: 138.7 kB / 0.7895 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.35, allocations: 48.83 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.35, allocations: 0 / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.3502, allocations: 111.3 kB / 0.7896 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.3503, allocations: 0 / 0.7896 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005558/0.3508, allocations: 224.8 kB / 0.7898 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.3509, allocations: 63.34 kB / 0.7899 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005894/0.3515, allocations: 0.5053 MB / 0.7904 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.3515, allocations: 29.7 kB / 0.7904 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3517, allocations: 168.3 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.3517, allocations: 43.53 kB / 0.7906 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3518, allocations: 65.97 kB / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.352, allocations: 346.8 kB / 0.791 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3522, allocations: 100.5 kB / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.3524, allocations: 131.6 kB / 0.7912 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.3528, allocations: 187.4 kB / 0.7914 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3528, allocations: 0 / 0.7914 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005484/0.3533, allocations: 325.1 kB / 0.7917 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3534, allocations: 4 kB / 0.7917 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3534, allocations: 0 / 0.7917 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3534, allocations: 4 kB / 0.7917 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.3536, allocations: 55.84 kB / 0.7918 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3536, allocations: 4 kB / 0.7918 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.3538, allocations: 19.98 kB / 0.7918 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.3538, allocations: 8 kB / 0.7918 GB, free: 4.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002074/0.354, allocations: 182.4 kB / 0.792 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.3541, allocations: 31.53 kB / 0.792 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.483e-05/0.3542, allocations: 39.12 kB / 0.792 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3542, allocations: 7.938 kB / 0.7921 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3542, allocations: 0 / 0.7921 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.3542, allocations: 7.984 kB / 0.7921 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.3545, allocations: 297.4 kB / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3546, allocations: 0 / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.037e-05/0.3546, allocations: 15.98 kB / 0.7924 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3546, allocations: 0 / 0.7924 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3547, allocations: 4 kB / 0.7924 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.3547, allocations: 11.92 kB / 0.7924 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3547, allocations: 0 / 0.7924 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.3551, allocations: 204.5 kB / 0.7926 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.3552, allocations: 116.7 kB / 0.7927 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.3552, allocations: 8 kB / 0.7927 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.3553, allocations: 11.92 kB / 0.7927 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.3554, allocations: 15.97 kB / 0.7927 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.3554, allocations: 12 kB / 0.7927 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003434/0.3558, allocations: 315.1 kB / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3558, allocations: 0 / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002897/0.3561, allocations: 48 kB / 0.7931 GB, free: 3.105 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001007/0.3571, allocations: 425.6 kB / 0.7935 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.3575, allocations: 203.8 kB / 0.7937 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3575, allocations: 0 / 0.7937 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3577, allocations: 59.91 kB / 0.7937 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.3582, allocations: 89.59 kB / 0.7938 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000998/0.3592, allocations: 0.5942 MB / 0.7944 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.3597, allocations: 0.7947 MB / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.3599, allocations: 54.94 kB / 0.7952 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.36, allocations: 31.42 kB / 0.7953 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of SimCode: time 7.22e-07/0.36, allocations: 0 / 0.7953 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of Templates: time 0.00978/0.3698, allocations: 4.014 MB / 0.7992 GB, free: 13 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)