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.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.0007774/0.0007774, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009853/0.001763, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007611/0.0007611, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009527/0.001714, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9354/0.9354, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.13/1.065, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.416/2.416, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2655/2.682, allocations: 145.9 MB / 0.817 GB, free: 4.227 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8183 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.478e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001744/0.001759, allocations: 1.07 MB / 0.8193 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002296/0.001988, allocations: 175.2 kB / 0.8195 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.002066, allocations: 7.938 kB / 0.8195 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.839e-05/0.002145, allocations: 27.72 kB / 0.8195 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.655e-05/0.002231, allocations: 23.8 kB / 0.8195 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.002339, allocations: 67.92 kB / 0.8196 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.002603, allocations: 347.2 kB / 0.8199 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.002909, allocations: 297.5 kB / 0.8202 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.003198, allocations: 323.4 kB / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.003344, allocations: 163.6 kB / 0.8207 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.003395, allocations: 48 kB / 0.8207 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-05/0.003433, allocations: 52 kB / 0.8208 GB, free: 344 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.254e-05/0.003505, allocations: 95.69 kB / 0.8209 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/0.003587, allocations: 107.7 kB / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.003891, allocations: 358.7 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.775e-05/0.003909, allocations: 0 / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003909, allocations: 0 / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.003927, allocations: 0 / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.0006358/0.004563, allocations: 0.6828 MB / 0.822 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.004598, allocations: 8.922 kB / 0.822 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.004687, allocations: 76.88 kB / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.004949, allocations: 258.1 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.004999, allocations: 45.38 kB / 0.8224 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.005038, allocations: 48.38 kB / 0.8224 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.005435, allocations: 378.1 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.005449, allocations: 192 / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.005475, allocations: 20.38 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.005485, allocations: 16.38 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.005671, allocations: 160.4 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008883/0.006559, allocations: 0.8439 MB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.006793, allocations: 97.22 kB / 0.8239 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.006829, allocations: 33.7 kB / 0.8239 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.006854, allocations: 8 kB / 0.8239 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.006875, allocations: 38.56 kB / 0.824 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.006876, allocations: 4 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0001931/0.007069, allocations: 129.7 kB / 0.8241 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.007107, allocations: 77.11 kB / 0.8242 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.007267, allocations: 296.5 kB / 0.8244 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.007281, allocations: 33.7 kB / 0.8245 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.007367, allocations: 232.8 kB / 0.8247 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.007402, allocations: 59.53 kB / 0.8247 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.007476, allocations: 97.53 kB / 0.8248 GB, free: 12 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/0.007557, allocations: 338.8 kB / 0.8252 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.007602, allocations: 31.92 kB / 0.8252 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.894e-05/0.007651, allocations: 53.61 kB / 0.8252 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.602e-05/0.007737, allocations: 84.59 kB / 0.8253 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007739, allocations: 0 / 0.8253 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001335/0.007872, allocations: 141.5 kB / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.007883, allocations: 8 kB / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007888, allocations: 0 / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.007896, allocations: 0 / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.008032, allocations: 63.89 kB / 0.8255 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.008037, allocations: 7.938 kB / 0.8255 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.008078, allocations: 23.84 kB / 0.8256 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.008092, allocations: 12 kB / 0.8256 GB, free: 11.23 MB / 0.8073 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 (32): * Single equations (assignments): 32 * 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.0001071/0.008199, allocations: 138.6 kB / 0.8257 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.008231, allocations: 15.98 kB / 0.8257 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.008386, allocations: 131.3 kB / 0.8258 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.008388, allocations: 4 kB / 0.8258 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002713/0.00866, allocations: 8 kB / 0.8259 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.008666, allocations: 3.938 kB / 0.8259 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/0.009236, allocations: 0.7209 MB / 0.8266 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.00924, allocations: 4 kB / 0.8266 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.009321, allocations: 51.89 kB / 0.8266 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.009344, allocations: 27.8 kB / 0.8266 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.009348, allocations: 4 kB / 0.8266 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.009359, allocations: 15.94 kB / 0.8267 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.009364, allocations: 11.92 kB / 0.8267 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.00937, allocations: 11.94 kB / 0.8267 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.009543, allocations: 257.3 kB / 0.8269 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.009562, allocations: 12 kB / 0.8269 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-05/0.009609, allocations: 4 kB / 0.8269 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.00966, allocations: 43.81 kB / 0.827 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.009672, allocations: 12 kB / 0.827 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.582e-05/0.009728, allocations: 82.7 kB / 0.8271 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.009728, allocations: 0 / 0.8271 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001838/0.009911, allocations: 87.62 kB / 0.8272 GB, free: 9.418 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (couTru.y,couTru.intEqu.y,couTru.mulMin.y,couTruAllFal.y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 7.859e-05/0.00999, allocations: 97.05 kB / 0.8273 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.01014, allocations: 119.7 kB / 0.8274 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.01014, allocations: 4 kB / 0.8274 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.209e-05/0.0102, allocations: 72.12 kB / 0.8274 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.01039, allocations: 57.86 kB / 0.8275 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.01104, allocations: 0.7343 MB / 0.8282 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.387e-05/0.01111, allocations: 108.3 kB / 0.8283 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.909e-05/0.01117, allocations: 26.28 kB / 0.8283 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.697e-05/0.01125, allocations: 91.36 kB / 0.8284 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.01125, allocations: 0 / 0.8284 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of Templates: time 0.004255/0.01551, allocations: 2.145 MB / 0.8305 GB, free: 5.898 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.ref.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.231029153801501]