Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004987/0.004986, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001128/0.001128, allocations: 192.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.88/2.88, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3271, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002162/0.3294, allocations: 0.8684 MB / 1.209 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002801/0.3296, allocations: 83.7 kB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.3297, allocations: 4 kB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.3299, allocations: 23.73 kB / 1.209 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.33, allocations: 23.86 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.654e-05/0.3301, allocations: 39.95 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.3304, allocations: 255.5 kB / 1.209 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003795/0.3308, allocations: 286.3 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.3309, allocations: 135.4 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.3311, allocations: 143.3 kB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/0.3311, allocations: 32 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.96e-05/0.3312, allocations: 32 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.401e-05/0.3313, allocations: 83.77 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.3314, allocations: 159 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.3318, allocations: 470.3 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3318, allocations: 0 / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3318, allocations: 0 / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3318, allocations: 0 / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0006669/0.3325, allocations: 0.5945 MB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3326, allocations: 8.625 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.3326, allocations: 44.41 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.333, allocations: 328.2 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.644e-05/0.3331, allocations: 44.95 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.3331, allocations: 32.38 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.3337, allocations: 396.2 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3337, allocations: 192 / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.3338, allocations: 15.94 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.3338, allocations: 8 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.3342, allocations: 303.5 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.3355, allocations: 1.049 MB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.3356, allocations: 89.22 kB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.715e-05/0.3357, allocations: 53.72 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3357, allocations: 4 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.3358, allocations: 38.55 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.3358, allocations: 0 / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0003122/0.3361, allocations: 161.2 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3362, allocations: 89.05 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.3367, allocations: 0.5091 MB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.3367, allocations: 25.7 kB / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.3369, allocations: 199.5 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.3369, allocations: 23.8 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-05/0.337, allocations: 53.7 kB / 1.214 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3371, allocations: 342.8 kB / 1.215 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.3372, allocations: 71.86 kB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3373, allocations: 91.41 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3375, allocations: 117.5 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3375, allocations: 0 / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002699/0.3378, allocations: 213.1 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3378, allocations: 4 kB / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3378, allocations: 0 / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3378, allocations: 4 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.3379, allocations: 27.92 kB / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.338, allocations: 4 kB / 1.215 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.338, allocations: 35.53 kB / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.3381, allocations: 8 kB / 1.215 GB, free: 1.805 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (couTru.booToInt[1].y,couTru.booToInt[2].y,couTru.booToInt[3].y,couTru.booToInt[4].y,couTru.booToInt[5].y,couTru.booToInt[6].y,couTru.intEqu.y,couTru.mulMin.y,couTru.y,couTruAllFal.booToInt[1].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[6].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001843/0.3382, allocations: 203.5 kB / 1.215 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.3383, allocations: 35.56 kB / 1.215 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.3385, allocations: 114 kB / 1.215 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3385, allocations: 3.938 kB / 1.215 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3385, allocations: 4 kB / 1.215 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3385, allocations: 0 / 1.215 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.339, allocations: 0.6643 MB / 1.216 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.339, allocations: 0 / 1.216 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.3391, allocations: 4 kB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3391, allocations: 4.188 kB / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.3391, allocations: 0 / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3391, allocations: 3.938 kB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3391, allocations: 4 kB / 1.216 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.3392, allocations: 135.2 kB / 1.216 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.549e-05/0.3393, allocations: 116.7 kB / 1.216 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.3394, allocations: 7.938 kB / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.97e-05/0.3394, allocations: 4 kB / 1.216 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.3395, allocations: 12.41 kB / 1.216 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3395, allocations: 4 kB / 1.216 GB, free: 364 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003826/0.3398, allocations: 387 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3399, allocations: 4 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002248/0.3401, allocations: 35.91 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (couTru.y,couTru.intEqu.y,couTruAllFal.y,couTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001114/0.3402, allocations: 99.25 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.3404, allocations: 115.8 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3404, allocations: 4 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.927e-05/0.3405, allocations: 12 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.3407, allocations: 33.48 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006808/0.3414, allocations: 0.5022 MB / 1.217 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3417, allocations: 0.7911 MB / 1.218 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.3418, allocations: 58.92 kB / 1.218 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.3419, allocations: 23.44 kB / 1.218 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.3419, allocations: 4 kB / 1.218 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of Templates: time 0.005272/0.3472, allocations: 1.993 MB / 1.22 GB, free: 12.25 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches