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.001781/0.001781, allocations: 105.8 kB / 19.69 MB, free: 2.258 MB / 14.72 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.002106/0.002106, allocations: 213.8 kB / 23.01 MB, free: 5.109 MB / 14.72 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 1.654/1.654, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.273/3.273, allocations: 0.49 GB / 0.7958 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.91 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002419/0.3278, allocations: 0.8606 MB / 1.328 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003517/0.3281, allocations: 91.64 kB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.83e-05/0.3282, allocations: 4 kB / 1.328 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.3284, allocations: 23.72 kB / 1.328 GB, free: 488 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.3285, allocations: 19.86 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.951e-05/0.3286, allocations: 39.97 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.329, allocations: 255.5 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004575/0.3295, allocations: 182.8 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.3297, allocations: 131.4 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.3299, allocations: 143.3 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.345e-05/0.33, allocations: 32 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.805e-05/0.3301, allocations: 32 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3302, allocations: 87.72 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.3304, allocations: 155.1 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000661/0.331, allocations: 462 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.331, allocations: 4 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.331, allocations: 4 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.3311, allocations: 0 / 1.33 GB, free: 14.95 MB / 1.029 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.0008802/0.3319, allocations: 0.5285 MB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.332, allocations: 8.031 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/0.332, allocations: 44.66 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.3325, allocations: 271.2 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.3325, allocations: 41.02 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/0.3326, allocations: 36.36 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.3332, allocations: 400.2 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3332, allocations: 4.188 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.3332, allocations: 11.94 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3332, allocations: 8 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.3337, allocations: 311.3 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.3352, allocations: 1.02 MB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.3354, allocations: 85.22 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.951e-05/0.3354, allocations: 49.72 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3355, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.3355, allocations: 34.56 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.3355, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003594/0.3359, allocations: 169.4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3359, allocations: 84.98 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.3365, allocations: 0.5053 MB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3365, allocations: 25.7 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3367, allocations: 215.7 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.3367, allocations: 11.84 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.491e-05/0.3368, allocations: 61.69 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.337, allocations: 342.8 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.3371, allocations: 71.94 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3372, allocations: 81.67 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3374, allocations: 117.5 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3374, allocations: 0 / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003185/0.3377, allocations: 213.3 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3377, allocations: 4 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3378, allocations: 11.98 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3378, allocations: 384 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3379, allocations: 27.94 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3379, allocations: 0 / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.177e-05/0.338, allocations: 39.72 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.338, allocations: 4 kB / 1.334 GB, free: 9.938 MB / 1.029 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.0002248/0.3382, allocations: 208 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.3383, allocations: 31.77 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.3385, allocations: 114.1 kB / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3385, allocations: 8.125 kB / 1.335 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3386, allocations: 3.984 kB / 1.335 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3386, allocations: 3.938 kB / 1.335 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006663/0.3392, allocations: 0.6321 MB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3392, allocations: 0 / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.3392, allocations: 4 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.3393, allocations: 4 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.3393, allocations: 0 / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.3393, allocations: 3.984 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3393, allocations: 4 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.3394, allocations: 135.5 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.3395, allocations: 51.75 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.3395, allocations: 4 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.3396, allocations: 4 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.3396, allocations: 7.938 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.3396, allocations: 4 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004363/0.3401, allocations: 391 kB / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3401, allocations: 0 / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002403/0.3403, allocations: 39.94 kB / 1.336 GB, free: 8.195 MB / 1.029 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.0001267/0.3404, allocations: 99.23 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.3406, allocations: 99.89 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3406, allocations: 3.938 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.937e-05/0.3407, allocations: 19.98 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.3409, allocations: 34.97 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000818/0.3418, allocations: 0.5269 MB / 1.337 GB, free: 7.359 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.3422, allocations: 0.7872 MB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.3423, allocations: 27.42 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3423, allocations: 0 / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of Templates: time 0.006342/0.3486, allocations: 3.807 MB / 1.341 GB, free: 2.715 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.549776242987718]