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.001275/0.001275, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001379/0.001379, allocations: 208 kB / 22.24 MB, free: 5.262 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.339/1.339, allocations: 230.6 MB / 256 MB, free: 7.789 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.009/3.009, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] 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.002084/0.002084, allocations: 76.73 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3085, allocations: 181.8 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002076/0.3106, allocations: 0.8516 MB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002506/0.3108, allocations: 87.7 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.3109, allocations: 7.938 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.311, allocations: 19.8 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.3111, allocations: 19.86 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.904e-05/0.3112, allocations: 43.97 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.3115, allocations: 259.4 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.3118, allocations: 162.9 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.3119, allocations: 131.5 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.3121, allocations: 155.2 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/0.3122, allocations: 32 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.3122, allocations: 32 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.3123, allocations: 87.72 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.3124, allocations: 119.3 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.3128, allocations: 466.3 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3128, allocations: 4 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3128, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3128, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 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.0006746/0.3135, allocations: 0.5324 MB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3135, allocations: 8.031 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.1e-05/0.3136, allocations: 70.72 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.3137, allocations: 40.7 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.3141, allocations: 270.5 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.3142, allocations: 37.02 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.3142, allocations: 36.38 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.3148, allocations: 408 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3148, allocations: 3.938 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.3149, allocations: 15.94 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.3149, allocations: 8 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.3153, allocations: 295.8 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.3166, allocations: 0.9654 MB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3168, allocations: 89.16 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/0.3168, allocations: 45.78 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.3169, allocations: 4 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3169, allocations: 30.56 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3169, allocations: 4 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0003104/0.3172, allocations: 169.3 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.3173, allocations: 81.11 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005527/0.3178, allocations: 0.5169 MB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3178, allocations: 25.7 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.318, allocations: 199.8 kB / 1.369 GB, free: 7.598 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.318, allocations: 19.84 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/0.3181, allocations: 57.69 kB / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3182, allocations: 346.8 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.3183, allocations: 71.89 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.3185, allocations: 89.58 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.3186, allocations: 113.6 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3186, allocations: 0 / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002937/0.3189, allocations: 213.3 kB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3189, allocations: 7.984 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3189, allocations: 4 kB / 1.37 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.319, allocations: 3.938 kB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3191, allocations: 32.25 kB / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3191, allocations: 0 / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.648e-05/0.3192, allocations: 43.66 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3192, allocations: 8 kB / 1.37 GB, free: 6.574 MB / 1.061 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.0001989/0.3194, allocations: 199.5 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.3194, allocations: 31.77 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.3196, allocations: 118.1 kB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3196, allocations: 8.109 kB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3197, allocations: 4.062 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3197, allocations: 3.938 kB / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.3202, allocations: 0.6048 MB / 1.371 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3202, allocations: 0 / 1.371 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.3202, allocations: 4 kB / 1.371 GB, free: 5.527 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3202, allocations: 0 / 1.371 GB, free: 5.527 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.3202, allocations: 4 kB / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3202, allocations: 0 / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3202, allocations: 0 / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.3204, allocations: 140.5 kB / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/0.3205, allocations: 51.75 kB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.3205, allocations: 3.984 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.3206, allocations: 4 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.3206, allocations: 4 kB / 1.372 GB, free: 5.297 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.3206, allocations: 4 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004162/0.321, allocations: 391 kB / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.321, allocations: 0 / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002277/0.3212, allocations: 43.89 kB / 1.372 GB, free: 4.867 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.0004361/0.3217, allocations: 0.6694 MB / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.3218, allocations: 95.89 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3218, allocations: 0 / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.3219, allocations: 19.92 kB / 1.373 GB, free: 4.043 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3221, allocations: 33.59 kB / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.3252, allocations: 2.904 MB / 1.376 GB, free: 1.004 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.3254, allocations: 191.6 kB / 1.376 GB, free: 0.793 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.3255, allocations: 58.94 kB / 1.376 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3256, allocations: 91.41 kB / 1.376 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.3256, allocations: 7.938 kB / 1.376 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.3583, allocations: 6.321 MB / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.84, allocations: 12.06 kB / 1.382 GB, free: 10.48 MB / 1.076 GB " [Timeout remaining time 289] (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: 16.994669273961335]