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.001378/0.001378, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001612/0.001612, allocations: 209.9 kB / 22.24 MB, free: 4.855 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.793 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.246/3.246, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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.00306/0.00306, allocations: 65.73 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3826, allocations: 176.1 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002483/0.3851, allocations: 0.8489 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003279/0.3854, allocations: 95.64 kB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.3855, allocations: 4 kB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.3857, allocations: 15.8 kB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.3858, allocations: 19.86 kB / 1.326 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.479e-05/0.3859, allocations: 39.95 kB / 1.326 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000323/0.3862, allocations: 251.4 kB / 1.326 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.3866, allocations: 183.1 kB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.3867, allocations: 135.5 kB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.3869, allocations: 147.3 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.387, allocations: 36 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.158e-05/0.3871, allocations: 32 kB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.3872, allocations: 83.72 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.3873, allocations: 119.3 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.3878, allocations: 466 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3878, allocations: 0 / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3878, allocations: 0 / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3878, allocations: 0 / 1.327 GB, free: 15.92 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.0007884/0.3886, allocations: 0.5324 MB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3886, allocations: 8.031 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.945e-05/0.3887, allocations: 70.72 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.3888, allocations: 44.66 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.3893, allocations: 271.2 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.3893, allocations: 33.02 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.3894, allocations: 32.38 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006391/0.39, allocations: 404.2 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.39, allocations: 3.938 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.3901, allocations: 16 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.3901, allocations: 12 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005274/0.3906, allocations: 303.4 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.3922, allocations: 0.9735 MB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3924, allocations: 85.22 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.3925, allocations: 49.72 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.3925, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.3925, allocations: 38.5 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3925, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003663/0.3929, allocations: 169.3 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.393, allocations: 85.11 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005972/0.3936, allocations: 0.513 MB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3936, allocations: 25.7 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.3937, allocations: 207.7 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.3938, allocations: 11.89 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.3938, allocations: 61.64 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002318/0.3941, allocations: 338.8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.3942, allocations: 79.84 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.3943, allocations: 81.67 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3945, allocations: 117.6 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3945, allocations: 4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003061/0.3948, allocations: 201.4 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3948, allocations: 8 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3948, allocations: 3.938 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.3949, allocations: 8.109 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.395, allocations: 24 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.395, allocations: 3.938 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-05/0.3951, allocations: 43.62 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3951, allocations: 7.984 kB / 1.332 GB, free: 10.87 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.0002217/0.3953, allocations: 206.6 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.3954, allocations: 32.19 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.3956, allocations: 118 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3956, allocations: 3.938 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3956, allocations: 0 / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3956, allocations: 11.97 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/0.3962, allocations: 0.601 MB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3962, allocations: 0 / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.3963, allocations: 7.938 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3963, allocations: 4 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.3963, allocations: 0 / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3963, allocations: 0 / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3963, allocations: 7.938 kB / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.3964, allocations: 131.4 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3965, allocations: 47.73 kB / 1.333 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.3966, allocations: 128 / 1.333 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.497e-05/0.3966, allocations: 11.98 kB / 1.333 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.3967, allocations: 11.94 kB / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.3967, allocations: 0 / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004425/0.3971, allocations: 391 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3971, allocations: 0 / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002491/0.3974, allocations: 43.95 kB / 1.334 GB, free: 9.152 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.0004851/0.3978, allocations: 0.6676 MB / 1.334 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.3981, allocations: 99.88 kB / 1.334 GB, free: 8.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3981, allocations: 4 kB / 1.334 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.95e-05/0.3981, allocations: 15.94 kB / 1.334 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3984, allocations: 34.02 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.4018, allocations: 2.905 MB / 1.337 GB, free: 5.285 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.402, allocations: 187.6 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.4021, allocations: 58.92 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.4023, allocations: 95.41 kB / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/0.4023, allocations: 0 / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.4385, allocations: 6.319 MB / 1.344 GB, free: 14.76 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.03, allocations: 13.38 kB / 1.344 GB, free: 14.76 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.79283084720373]