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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=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 0.002014/0.002015, allocations: 63.89 kB / 1.103 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9406/0.9426, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001964/0.9446, allocations: 0.8734 MB / 1.263 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002431/0.9449, allocations: 88.95 kB / 1.264 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.444e-05/0.945, allocations: 7.531 kB / 1.264 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.9451, allocations: 17.97 kB / 1.264 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.9452, allocations: 17.78 kB / 1.264 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.283e-05/0.9453, allocations: 42.28 kB / 1.264 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.9456, allocations: 253.6 kB / 1.264 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.946, allocations: 291.2 kB / 1.264 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.9461, allocations: 132.6 kB / 1.264 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.9463, allocations: 142.1 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.01e-05/0.9464, allocations: 32.12 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.336e-05/0.9464, allocations: 32.78 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.9465, allocations: 87.5 kB / 1.265 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.9466, allocations: 154.1 kB / 1.265 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.9472, allocations: 468.4 kB / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9472, allocations: 0 / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9472, allocations: 0 / 1.265 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.9472, allocations: 0.8438 kB / 1.265 GB, free: 6.598 MB / 0.9981 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.000618/0.9478, allocations: 0.6039 MB / 1.266 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.9479, allocations: 9.906 kB / 1.266 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.9479, allocations: 38.45 kB / 1.266 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.9483, allocations: 333.1 kB / 1.266 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.9484, allocations: 41.64 kB / 1.266 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.9484, allocations: 29.23 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.949, allocations: 397.9 kB / 1.267 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.9491, allocations: 1 kB / 1.267 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.9491, allocations: 18.25 kB / 1.267 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.9491, allocations: 8.688 kB / 1.267 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.9496, allocations: 306 kB / 1.267 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.9509, allocations: 1.058 MB / 1.268 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.951, allocations: 95.81 kB / 1.268 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.9511, allocations: 49.5 kB / 1.268 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.9511, allocations: 0.875 kB / 1.268 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.9512, allocations: 40.69 kB / 1.268 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.9512, allocations: 0 / 1.268 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003162/0.9515, allocations: 172.3 kB / 1.268 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.9515, allocations: 82.81 kB / 1.268 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.9521, allocations: 0.5044 MB / 1.269 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.9521, allocations: 25.7 kB / 1.269 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.9522, allocations: 210.2 kB / 1.269 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.9522, allocations: 19.86 kB / 1.269 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-05/0.9523, allocations: 58 kB / 1.269 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.9524, allocations: 346.4 kB / 1.269 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.9525, allocations: 65.53 kB / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.9526, allocations: 93.44 kB / 1.27 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.9528, allocations: 110 kB / 1.27 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.9528, allocations: 4.688 kB / 1.27 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002807/0.953, allocations: 221 kB / 1.27 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.9531, allocations: 6.469 kB / 1.27 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.9531, allocations: 0.8125 kB / 1.27 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.9531, allocations: 0.875 kB / 1.27 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.9533, allocations: 30.72 kB / 1.27 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.9533, allocations: 5.406 kB / 1.27 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.376e-05/0.9533, allocations: 34.25 kB / 1.27 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.9534, allocations: 5.156 kB / 1.27 GB, free: 3.406 MB / 0.9981 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.0001613/0.9535, allocations: 205.1 kB / 1.27 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.9536, allocations: 31.78 kB / 1.27 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.9538, allocations: 120 kB / 1.27 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.9538, allocations: 4.719 kB / 1.27 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9538, allocations: 0.875 kB / 1.27 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9538, allocations: 0.9062 kB / 1.27 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.9543, allocations: 0.6607 MB / 1.271 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.9543, allocations: 0.8125 kB / 1.271 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.9543, allocations: 4.062 kB / 1.271 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.9543, allocations: 0.9375 kB / 1.271 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.9543, allocations: 1.562 kB / 1.271 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.9543, allocations: 1.625 kB / 1.271 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9543, allocations: 4.172 kB / 1.271 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.9544, allocations: 135.4 kB / 1.271 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.9545, allocations: 123.6 kB / 1.271 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.9546, allocations: 2.578 kB / 1.271 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.31e-05/0.9546, allocations: 3.516 kB / 1.271 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.9547, allocations: 8.531 kB / 1.271 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.9547, allocations: 1.906 kB / 1.271 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004162/0.9551, allocations: 391.2 kB / 1.272 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9551, allocations: 0 / 1.272 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002473/0.9554, allocations: 44.89 kB / 1.272 GB, free: 2.152 MB / 0.9981 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.855e-05/0.9554, allocations: 99.47 kB / 1.272 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.9557, allocations: 121.6 kB / 1.272 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.9557, allocations: 0 / 1.272 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.9557, allocations: 13.12 kB / 1.272 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.956, allocations: 40.8 kB / 1.272 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000672/0.9567, allocations: 0.535 MB / 1.272 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.9569, allocations: 0.7955 MB / 1.273 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.957, allocations: 23 kB / 1.273 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.957, allocations: 0 / 1.273 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of Templates: time 0.006547/0.9635, allocations: 3.796 MB / 1.277 GB, free: 0.5391 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.9815805030521]