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.001593/0.001593, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002029/0.002029, allocations: 215.4 kB / 22.25 MB, free: 5.113 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.434/3.434, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_latest_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.002114/0.002114, allocations: 62.73 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3601, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002136/0.3622, allocations: 0.8652 MB / 1.354 GB, free: 7.621 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002795/0.3625, allocations: 91.69 kB / 1.354 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.778e-05/0.3626, allocations: 11.88 kB / 1.354 GB, free: 7.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.3627, allocations: 15.8 kB / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.3629, allocations: 27.86 kB / 1.354 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.202e-05/0.363, allocations: 35.97 kB / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.3633, allocations: 259.4 kB / 1.354 GB, free: 7.188 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.3636, allocations: 171.1 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.3638, allocations: 139.5 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.364, allocations: 139.3 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.364, allocations: 32 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.902e-05/0.3641, allocations: 36 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.3642, allocations: 91.69 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.3643, allocations: 151.1 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.3649, allocations: 466 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3649, allocations: 3.984 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3649, allocations: 0 / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.3649, allocations: 0 / 1.355 GB, free: 5.977 MB / 1.045 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.0008488/0.3657, allocations: 0.5285 MB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.3658, allocations: 8.031 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.3659, allocations: 70.72 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/0.366, allocations: 44.66 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.3665, allocations: 274.5 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.3665, allocations: 33.03 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.3666, allocations: 32.38 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.3673, allocations: 404 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3673, allocations: 3.938 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.3673, allocations: 19.94 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.3673, allocations: 11.98 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.3678, allocations: 299.8 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.3693, allocations: 1.02 MB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.3695, allocations: 89.16 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.3695, allocations: 41.8 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.3696, allocations: 4 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.3696, allocations: 34.55 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3696, allocations: 4 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0003505/0.37, allocations: 173.3 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.37, allocations: 77.11 kB / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006386/0.3707, allocations: 0.5053 MB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3707, allocations: 25.7 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.3709, allocations: 207.7 kB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.3709, allocations: 19.84 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-05/0.371, allocations: 53.66 kB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3711, allocations: 346.8 kB / 1.359 GB, free: 1.477 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3713, allocations: 71.89 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.3714, allocations: 91.91 kB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.3716, allocations: 117.5 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3716, allocations: 4 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000328/0.3719, allocations: 209.3 kB / 1.36 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3719, allocations: 8 kB / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3719, allocations: 0 / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.372, allocations: 3.938 kB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.3721, allocations: 31.92 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3721, allocations: 0 / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.299e-05/0.3722, allocations: 35.73 kB / 1.36 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.3722, allocations: 4 kB / 1.36 GB, free: 0.8945 MB / 1.045 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.0002241/0.3725, allocations: 211.8 kB / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.3725, allocations: 39.75 kB / 1.36 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.3727, allocations: 114.1 kB / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.3728, allocations: 3.938 kB / 1.36 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3728, allocations: 0 / 1.36 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3728, allocations: 0 / 1.36 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.3734, allocations: 0.6399 MB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3734, allocations: 4 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.3734, allocations: 4 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3734, allocations: 192 / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3734, allocations: 0 / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3734, allocations: 7.938 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3734, allocations: 4.125 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.3736, allocations: 131.3 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.149e-05/0.3737, allocations: 47.75 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.3737, allocations: 8 kB / 1.361 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.3738, allocations: 4 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.3738, allocations: 11.98 kB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.3738, allocations: 0 / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004452/0.3743, allocations: 391 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3743, allocations: 0 / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002632/0.3745, allocations: 43.89 kB / 1.362 GB, free: 15.14 MB / 1.061 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.00052/0.375, allocations: 0.6655 MB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.3753, allocations: 99.88 kB / 1.362 GB, free: 14.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3753, allocations: 0 / 1.362 GB, free: 14.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.217e-05/0.3753, allocations: 20.12 kB / 1.362 GB, free: 14.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.3756, allocations: 37.58 kB / 1.362 GB, free: 14.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.3793, allocations: 2.906 MB / 1.365 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.3798, allocations: 0.7907 MB / 1.366 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.38, allocations: 63.3 kB / 1.366 GB, free: 10.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3801, allocations: 91.41 kB / 1.366 GB, free: 10.3 MB / 1.061 GB Notification: Performance of SimCode: time 9.32e-07/0.3801, allocations: 0 / 1.366 GB, free: 10.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.415, allocations: 5.867 MB / 1.372 GB, free: 4.578 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.63, allocations: 7.422 kB / 1.372 GB, free: 4.574 MB / 1.061 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv. Warning: Get data of variable couTru.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv failed! Error: Could not read variable couTruAllFal.y in file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv. Warning: Get data of variable couTruAllFal.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.673180830000092]