Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 165.4 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9678/0.9678, allocations: 177.2 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.007/2.007, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.852e-05, allocations: 3.828 kB / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001536/0.001554, allocations: 0.9265 MB / 0.7609 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002371/0.001791, allocations: 95.56 kB / 0.761 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.001863, allocations: 7.938 kB / 0.761 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.00198, allocations: 25.09 kB / 0.7611 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.0021, allocations: 19.3 kB / 0.7611 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.226e-05/0.002162, allocations: 35.97 kB / 0.7611 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.002384, allocations: 258.2 kB / 0.7614 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.002599, allocations: 182.8 kB / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.002806, allocations: 220.8 kB / 0.7618 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.002908, allocations: 111.7 kB / 0.7619 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.002944, allocations: 28 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.523e-05/0.002969, allocations: 29.25 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.003024, allocations: 75.7 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.003082, allocations: 83.75 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.003287, allocations: 251 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003289, allocations: 0.875 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003289, allocations: 0 / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003294, allocations: 0.6875 kB / 0.7623 GB, free: 4.32 MB / 0.7136 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.0003835/0.003677, allocations: 0.492 MB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.003707, allocations: 13.69 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.003766, allocations: 48.91 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.00399, allocations: 221.9 kB / 0.7631 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.004028, allocations: 41.8 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.004052, allocations: 32.31 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.004304, allocations: 265 kB / 0.7634 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.004315, allocations: 4.172 kB / 0.7634 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.004339, allocations: 12.38 kB / 0.7634 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.004347, allocations: 9.062 kB / 0.7634 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.004467, allocations: 109 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.005097, allocations: 0.6211 MB / 0.7641 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.209e-05/0.005169, allocations: 58.75 kB / 0.7642 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.00519, allocations: 17.72 kB / 0.7642 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.005204, allocations: 2.188 kB / 0.7642 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.005226, allocations: 42.67 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.005227, allocations: 0 / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001471/0.005374, allocations: 65.61 kB / 0.7643 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.005407, allocations: 77.11 kB / 0.7644 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.005571, allocations: 280.7 kB / 0.7646 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.005582, allocations: 30.3 kB / 0.7647 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.005661, allocations: 188.9 kB / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.005672, allocations: 23.12 kB / 0.7649 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.005732, allocations: 69.62 kB / 0.7649 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.005814, allocations: 338.7 kB / 0.7653 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.005837, allocations: 12 kB / 0.7653 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.005873, allocations: 31.73 kB / 0.7653 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.406e-05/0.005927, allocations: 53.59 kB / 0.7654 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005928, allocations: 4 kB / 0.7654 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.522e-05/0.006024, allocations: 89.59 kB / 0.7654 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.006034, allocations: 15.06 kB / 0.7655 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.006038, allocations: 0 / 0.7655 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.006049, allocations: 0 / 0.7655 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.00614, allocations: 31.92 kB / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.006143, allocations: 0 / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.006174, allocations: 19.89 kB / 0.7655 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.006184, allocations: 4 kB / 0.7655 GB, free: 0.8516 MB / 0.7136 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 (couTruAllFal.booToInt[6].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[1].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y,couTru.booToInt[6].y,couTru.booToInt[5].y,couTru.booToInt[4].y,couTru.booToInt[3].y,couTru.booToInt[2].y,couTru.booToInt[1].y,couTru.intEqu.y,couTru.mulMin.y,couTru.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 9.521e-05/0.00628, allocations: 140.7 kB / 0.7656 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.006312, allocations: 11.98 kB / 0.7657 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.006429, allocations: 91.67 kB / 0.7657 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006431, allocations: 0 / 0.7657 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006434, allocations: 7.984 kB / 0.7657 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006437, allocations: 4 kB / 0.7658 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.006698, allocations: 444.5 kB / 0.7662 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.0067, allocations: 0 / 0.7662 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.006714, allocations: 6.75 kB / 0.7662 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.006716, allocations: 0 / 0.7662 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-06/0.006721, allocations: 4 kB / 0.7662 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.006723, allocations: 0 / 0.7662 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006724, allocations: 3.938 kB / 0.7662 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.875e-05/0.006802, allocations: 99.61 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.00682, allocations: 19.89 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.006832, allocations: 0.6562 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/0.006852, allocations: 4 kB / 0.7663 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.006868, allocations: 9.5 kB / 0.7663 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.006871, allocations: 3.938 kB / 0.7663 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.657e-05/0.006938, allocations: 82.77 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006938, allocations: 0 / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000143/0.007081, allocations: 64.95 kB / 0.7665 GB, free: 15.8 MB / 0.7292 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 8.233e-05/0.007163, allocations: 77.08 kB / 0.7665 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.44e-05/0.007257, allocations: 53.16 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.007263, allocations: 4.844 kB / 0.7666 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-05/0.00728, allocations: 25.92 kB / 0.7666 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.0074, allocations: 20.69 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.007831, allocations: 448.4 kB / 0.7671 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.992e-05/0.007881, allocations: 91.89 kB / 0.7671 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.007921, allocations: 18.23 kB / 0.7672 GB, free: 15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.007986, allocations: 68.5 kB / 0.7672 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.007986, allocations: 0 / 0.7672 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.003363/0.01135, allocations: 1.336 MB / 0.7685 GB, free: 13.68 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.04951138002798]