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.001347/0.001347, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001393/0.001393, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.506/1.506, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.337/3.337, allocations: 0.49 GB / 0.7916 GB, free: 33.53 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) [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.00203/0.00203, allocations: 78.12 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3124, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002724/0.3151, allocations: 0.8739 MB / 1.322 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003329/0.3154, allocations: 83.72 kB / 1.322 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.3155, allocations: 7.938 kB / 1.322 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.3157, allocations: 19.78 kB / 1.322 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.3158, allocations: 19.86 kB / 1.322 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.475e-05/0.3159, allocations: 35.97 kB / 1.322 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.3163, allocations: 259.4 kB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.3167, allocations: 234.6 kB / 1.322 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.3168, allocations: 135.5 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.317, allocations: 147.2 kB / 1.323 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.3171, allocations: 36 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.656e-05/0.3171, allocations: 32 kB / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.37e-05/0.3172, allocations: 83.72 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.3174, allocations: 159.1 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004628/0.3179, allocations: 462 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3179, allocations: 0 / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3179, allocations: 4 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.3179, allocations: 0 / 1.323 GB, free: 0.793 MB / 1.014 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.0008065/0.3187, allocations: 0.6038 MB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.3187, allocations: 11.98 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.152e-05/0.3188, allocations: 70.72 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.155e-05/0.3189, allocations: 44.66 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.3193, allocations: 328.3 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.856e-05/0.3194, allocations: 37.02 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.3194, allocations: 36.38 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.3201, allocations: 400.2 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3201, allocations: 3.938 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.3201, allocations: 16 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.3201, allocations: 12 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.3206, allocations: 299.4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.322, allocations: 1.058 MB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.3221, allocations: 85.16 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.3222, allocations: 45.78 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.3223, allocations: 8 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3223, allocations: 34.56 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.3223, allocations: 0 / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003417/0.3226, allocations: 173.4 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.3227, allocations: 81.05 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005893/0.3233, allocations: 0.5092 MB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3233, allocations: 29.7 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.3235, allocations: 203.7 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.3235, allocations: 19.84 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.3236, allocations: 61.69 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3237, allocations: 342.8 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.3238, allocations: 67.95 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.324, allocations: 89.58 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.3242, allocations: 117.5 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3242, allocations: 0 / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003296/0.3245, allocations: 209.3 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3245, allocations: 11.98 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3245, allocations: 0 / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.3245, allocations: 7.938 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.3247, allocations: 23.94 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3247, allocations: 4 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-05/0.3248, allocations: 35.66 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.3248, allocations: 12 kB / 1.328 GB, free: 11.48 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.0002085/0.325, allocations: 195.5 kB / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.3251, allocations: 35.77 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.3253, allocations: 114 kB / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3253, allocations: 8.109 kB / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3253, allocations: 4 kB / 1.329 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3253, allocations: 3.938 kB / 1.329 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.3259, allocations: 0.6526 MB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.326, allocations: 4 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.326, allocations: 4 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.326, allocations: 3.984 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.326, allocations: 0 / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.326, allocations: 4 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.326, allocations: 3.938 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.3262, allocations: 131.5 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.3263, allocations: 124.8 kB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.3263, allocations: 4 kB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.3264, allocations: 4 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.3264, allocations: 15.94 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3264, allocations: 4 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004418/0.3268, allocations: 391 kB / 1.33 GB, free: 9.664 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3268, allocations: 0 / 1.33 GB, free: 9.664 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002548/0.3271, allocations: 32 kB / 1.33 GB, free: 9.633 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.0004908/0.3276, allocations: 0.681 MB / 1.331 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.3278, allocations: 103.8 kB / 1.331 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3278, allocations: 0 / 1.331 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-05/0.3278, allocations: 12 kB / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.3281, allocations: 27.86 kB / 1.331 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.3316, allocations: 2.912 MB / 1.334 GB, free: 5.758 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.332, allocations: 0.7946 MB / 1.334 GB, free: 4.934 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.3321, allocations: 54.94 kB / 1.334 GB, free: 4.883 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.3323, allocations: 95.41 kB / 1.334 GB, free: 4.789 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3323, allocations: 0 / 1.334 GB, free: 4.789 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.3626, allocations: 5.682 MB / 1.34 GB, free: 15.26 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.709, allocations: 6.172 kB / 1.34 GB, free: 15.25 MB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv","/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] "Error: Could not read variable couTru.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv. Warning: Get data of variable couTru.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv failed! Error: Could not read variable couTruAllFal.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv. Warning: Get data of variable couTruAllFal.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.5688630589284]