Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00169/0.00169, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001898/0.001898, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.479/1.479, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 1.107 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.138, allocations: 168.7 MB / 1.272 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002112/1.14, allocations: 0.8797 MB / 1.273 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002608/1.14, allocations: 93.41 kB / 1.273 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.769e-05/1.14, allocations: 6.938 kB / 1.273 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001532/1.14, allocations: 18.56 kB / 1.273 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/1.141, allocations: 17.14 kB / 1.273 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.158e-05/1.141, allocations: 39.73 kB / 1.273 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003066/1.141, allocations: 253.9 kB / 1.273 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/1.141, allocations: 173.7 kB / 1.273 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/1.141, allocations: 135.4 kB / 1.274 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/1.142, allocations: 149.7 kB / 1.274 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.995e-05/1.142, allocations: 32.06 kB / 1.274 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.962e-05/1.142, allocations: 33.06 kB / 1.274 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/1.142, allocations: 82.69 kB / 1.274 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/1.142, allocations: 151.1 kB / 1.274 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004019/1.142, allocations: 466.4 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.142, allocations: 0.875 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.595e-06/1.142, allocations: 1.031 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.836e-06/1.142, allocations: 0.8125 kB / 1.274 GB, free: 6.734 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.0006386/1.143, allocations: 0.6058 MB / 1.275 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.143, allocations: 9.094 kB / 1.275 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.292e-05/1.143, allocations: 43.58 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/1.143, allocations: 331.6 kB / 1.275 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/1.143, allocations: 43.95 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/1.144, allocations: 28.94 kB / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/1.144, allocations: 402.2 kB / 1.276 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/1.144, allocations: 4.188 kB / 1.276 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/1.144, allocations: 15.66 kB / 1.276 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/1.144, allocations: 7.625 kB / 1.276 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/1.145, allocations: 305 kB / 1.276 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/1.146, allocations: 1.056 MB / 1.277 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/1.146, allocations: 92.7 kB / 1.277 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/1.146, allocations: 44.48 kB / 1.277 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/1.146, allocations: 0.7188 kB / 1.277 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/1.146, allocations: 36.62 kB / 1.277 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/1.146, allocations: 1.062 kB / 1.277 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003151/1.147, allocations: 166.9 kB / 1.277 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/1.147, allocations: 87.11 kB / 1.278 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/1.147, allocations: 0.5044 MB / 1.278 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/1.147, allocations: 25.7 kB / 1.278 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/1.147, allocations: 210.6 kB / 1.278 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/1.147, allocations: 15.55 kB / 1.278 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/1.147, allocations: 53.06 kB / 1.278 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/1.147, allocations: 347 kB / 1.279 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/1.148, allocations: 69.94 kB / 1.279 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/1.148, allocations: 91.05 kB / 1.279 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/1.148, allocations: 113.8 kB / 1.279 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.148, allocations: 0.9688 kB / 1.279 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003025/1.148, allocations: 210.4 kB / 1.279 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.148, allocations: 5.188 kB / 1.279 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.148, allocations: 0 / 1.279 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.148, allocations: 2.172 kB / 1.279 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/1.148, allocations: 34.2 kB / 1.279 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.148, allocations: 9.156 kB / 1.279 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/1.148, allocations: 34.55 kB / 1.279 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/1.148, allocations: 5.859 kB / 1.279 GB, free: 3.555 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.0001987/1.149, allocations: 201.4 kB / 1.279 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/1.149, allocations: 34.58 kB / 1.279 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/1.149, allocations: 122.3 kB / 1.28 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/1.149, allocations: 9.094 kB / 1.28 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.149, allocations: 1.391 kB / 1.28 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.149, allocations: 0.5625 kB / 1.28 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/1.149, allocations: 0.6568 MB / 1.28 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.149, allocations: 5.25 kB / 1.28 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/1.149, allocations: 13.06 kB / 1.28 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.149, allocations: 1.312 kB / 1.28 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/1.149, allocations: 1.5 kB / 1.28 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.149, allocations: 1.219 kB / 1.28 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.149, allocations: 2.219 kB / 1.28 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/1.15, allocations: 133.2 kB / 1.28 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/1.15, allocations: 120 kB / 1.28 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/1.15, allocations: 3.219 kB / 1.28 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/1.15, allocations: 2.75 kB / 1.28 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/1.15, allocations: 4.719 kB / 1.28 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/1.15, allocations: 7.156 kB / 1.28 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004332/1.15, allocations: 387.2 kB / 1.281 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.15, allocations: 7.938 kB / 1.281 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002332/1.15, allocations: 43.92 kB / 1.281 GB, free: 2.285 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 9.705e-05/1.151, allocations: 100.4 kB / 1.281 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002189/1.151, allocations: 102.4 kB / 1.281 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.151, allocations: 0 / 1.281 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.396e-05/1.151, allocations: 14.97 kB / 1.281 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/1.151, allocations: 38.2 kB / 1.281 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/1.152, allocations: 0.5133 MB / 1.282 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/1.152, allocations: 0.7926 MB / 1.282 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001162/1.152, allocations: 57.73 kB / 1.282 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/1.152, allocations: 20.94 kB / 1.283 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/1.152, allocations: 1.188 kB / 1.283 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of Templates: time 0.005694/1.158, allocations: 2.02 MB / 1.284 GB, free: 0.9062 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.194833222776651]