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.0008044/0.0008044, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008187/0.0008187, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8671/0.8671, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.791/1.791, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.281e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001529/0.001552, allocations: 0.8392 MB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002221/0.001774, allocations: 87.69 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.001845, allocations: 7.938 kB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.001947, allocations: 19.8 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.002071, allocations: 19.86 kB / 1.001 GB, free: 12.53 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.232e-05/0.002133, allocations: 43.89 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.002328, allocations: 255.4 kB / 1.001 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.002562, allocations: 166.9 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.002731, allocations: 191.6 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.002852, allocations: 127.6 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.002892, allocations: 32 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.682e-05/0.002918, allocations: 32 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.002981, allocations: 87.69 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.003051, allocations: 103.7 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.003343, allocations: 470.4 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003345, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.302e-06/0.003347, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.003351, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 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.0004731/0.003824, allocations: 0.5207 MB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.003869, allocations: 8.75 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.593e-05/0.003935, allocations: 74.72 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.003987, allocations: 44.66 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.004284, allocations: 277.7 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.004323, allocations: 33.03 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.004348, allocations: 32.38 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.004747, allocations: 408 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.004757, allocations: 192 / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.004776, allocations: 12.38 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.004785, allocations: 12.12 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.005087, allocations: 299.8 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009211/0.006008, allocations: 0.9576 MB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.006119, allocations: 97.14 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.006161, allocations: 45.8 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.006178, allocations: 0 / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.006201, allocations: 34.56 kB / 1.005 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.006202, allocations: 0 / 1.005 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002571/0.006459, allocations: 169.7 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.006498, allocations: 85.11 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.006875, allocations: 0.5207 MB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.006887, allocations: 25.7 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.006991, allocations: 207.7 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.007001, allocations: 11.94 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.007055, allocations: 61.66 kB / 1.006 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.007144, allocations: 342.8 kB / 1.006 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.152e-05/0.007216, allocations: 71.95 kB / 1.006 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.007295, allocations: 91.59 kB / 1.006 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.007401, allocations: 117.5 kB / 1.006 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.007404, allocations: 4 kB / 1.006 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001821/0.007586, allocations: 205.4 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.007598, allocations: 8 kB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.007602, allocations: 0 / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.007613, allocations: 0 / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.007709, allocations: 35.92 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.007714, allocations: 0 / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.007763, allocations: 43.61 kB / 1.007 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.007775, allocations: 4 kB / 1.007 GB, free: 6.004 MB / 0.9636 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.0001333/0.007908, allocations: 200 kB / 1.007 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.007944, allocations: 35.77 kB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.008082, allocations: 118 kB / 1.007 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.008084, allocations: 4.031 kB / 1.007 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.008089, allocations: 0 / 1.007 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.008093, allocations: 7.938 kB / 1.007 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.008439, allocations: 0.6009 MB / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.00844, allocations: 0 / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/0.008454, allocations: 7.984 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.008457, allocations: 3.938 kB / 1.008 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.008464, allocations: 7.938 kB / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.008465, allocations: 128 / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008466, allocations: 4 kB / 1.008 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.139e-05/0.008547, allocations: 127.5 kB / 1.008 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.00859, allocations: 51.69 kB / 1.008 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.008607, allocations: 3.938 kB / 1.008 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.013e-05/0.008638, allocations: 4 kB / 1.008 GB, free: 4.73 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.008655, allocations: 8 kB / 1.008 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.008657, allocations: 0 / 1.008 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002679/0.008925, allocations: 391 kB / 1.008 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.008925, allocations: 0 / 1.008 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001591/0.009084, allocations: 39.95 kB / 1.008 GB, free: 4.305 MB / 0.9636 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.0002545/0.009339, allocations: 0.6732 MB / 1.009 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.009482, allocations: 103.9 kB / 1.009 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009483, allocations: 3.938 kB / 1.009 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.009498, allocations: 12 kB / 1.009 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.009671, allocations: 29.66 kB / 1.009 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.01184, allocations: 2.917 MB / 1.012 GB, free: 436 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.01194, allocations: 179.5 kB / 1.012 GB, free: 232 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.614e-05/0.01201, allocations: 66.92 kB / 1.012 GB, free: 168 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/0.0121, allocations: 92.61 kB / 1.012 GB, free: 76 kB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.0121, allocations: 0 / 1.012 GB, free: 76 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.02892, allocations: 6.452 MB / 1.019 GB, free: 9.781 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/6.657, allocations: 12.44 kB / 1.019 GB, free: 9.773 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.74503154028207]