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.001808/0.001808, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00235/0.00235, allocations: 217.5 kB / 22.24 MB, free: 5.258 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.816 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.408/3.408, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.002066/0.002066, allocations: 63.41 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3451, allocations: 176.1 MB / 1.326 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002192/0.3473, allocations: 0.857 MB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.3476, allocations: 87.66 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.3477, allocations: 4 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.3478, allocations: 23.72 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.3479, allocations: 19.86 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.257e-05/0.348, allocations: 35.97 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.3483, allocations: 255.5 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.3486, allocations: 175.1 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.3488, allocations: 143.5 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.3489, allocations: 139.3 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.42e-05/0.349, allocations: 36 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.952e-05/0.349, allocations: 32 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.3491, allocations: 83.72 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.3493, allocations: 119.3 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.3497, allocations: 470 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3497, allocations: 0 / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3497, allocations: 0 / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.3497, allocations: 0 / 1.328 GB, free: 15.13 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.0007343/0.3505, allocations: 0.5362 MB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3505, allocations: 12.03 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.033e-05/0.3506, allocations: 70.72 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.3507, allocations: 44.66 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.3511, allocations: 267.2 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/0.3512, allocations: 37.02 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.3512, allocations: 28.38 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.3518, allocations: 400.2 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3518, allocations: 3.938 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.3519, allocations: 16 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3519, allocations: 12 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.3524, allocations: 307.2 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.3539, allocations: 0.9696 MB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.354, allocations: 89.16 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.3541, allocations: 45.78 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3541, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.3542, allocations: 38.56 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.3542, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000346/0.3545, allocations: 169.3 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.3546, allocations: 81.11 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.3552, allocations: 0.513 MB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3552, allocations: 25.7 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.3554, allocations: 211.7 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.3554, allocations: 3.953 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/0.3555, allocations: 61.64 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3556, allocations: 342.8 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.3558, allocations: 71.86 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.3559, allocations: 91.94 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3561, allocations: 109.7 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3561, allocations: 8 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003224/0.3564, allocations: 209.2 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3564, allocations: 8 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3564, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3564, allocations: 3.938 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.3566, allocations: 31.98 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3566, allocations: 3.938 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.483e-05/0.3567, allocations: 39.62 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.3567, allocations: 11.94 kB / 1.333 GB, free: 10.07 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.000217/0.3569, allocations: 204 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.357, allocations: 31.81 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.3572, allocations: 122 kB / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.3572, allocations: 3.938 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3572, allocations: 0 / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3572, allocations: 4.375 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006492/0.3579, allocations: 0.6089 MB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3579, allocations: 0 / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.3579, allocations: 4 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.3579, allocations: 4 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.3579, allocations: 0 / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3579, allocations: 0 / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.3579, allocations: 7.984 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.3581, allocations: 127.4 kB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.3582, allocations: 47.75 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.3582, allocations: 3.938 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.651e-05/0.3582, allocations: 4.031 kB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.3583, allocations: 15.98 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3583, allocations: 0 / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004629/0.3587, allocations: 391 kB / 1.334 GB, free: 8.406 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3587, allocations: 0 / 1.334 GB, free: 8.406 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002597/0.359, allocations: 39.95 kB / 1.334 GB, free: 8.367 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.0005033/0.3595, allocations: 0.6695 MB / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3597, allocations: 103.8 kB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3597, allocations: 4 kB / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/0.3598, allocations: 15.94 kB / 1.335 GB, free: 7.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.36, allocations: 30.84 kB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.3635, allocations: 2.906 MB / 1.338 GB, free: 4.496 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.3637, allocations: 183.6 kB / 1.338 GB, free: 4.289 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.3638, allocations: 58.92 kB / 1.338 GB, free: 4.234 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.364, allocations: 95.41 kB / 1.338 GB, free: 4.141 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.364, allocations: 0 / 1.338 GB, free: 4.141 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.3991, allocations: 6.352 MB / 1.345 GB, free: 13.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.86, allocations: 9.922 kB / 1.345 GB, free: 13.94 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.881537342997035]