Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00138/0.00138, 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.001781/0.001781, allocations: 216.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.469/1.469, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.783/2.783, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_11_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.002187/0.002187, allocations: 70.69 kB / 1.117 GB, free: 41.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3421, allocations: 169.9 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002315/0.3444, allocations: 0.8494 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003068/0.3447, allocations: 93.48 kB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.3448, allocations: 7.938 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.345, allocations: 19.78 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.3451, allocations: 19.88 kB / 1.284 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.312e-05/0.3452, allocations: 39.95 kB / 1.284 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.3455, allocations: 259.4 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.3458, allocations: 166.8 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.3459, allocations: 135.5 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.3461, allocations: 139.3 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.3461, allocations: 36 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.902e-05/0.3462, allocations: 32 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.978e-05/0.3463, allocations: 87.7 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.3464, allocations: 123.3 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005378/0.3469, allocations: 463.5 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.347, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.347, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.347, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 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.0007563/0.3477, allocations: 0.5285 MB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3478, allocations: 12.02 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.308e-05/0.3479, allocations: 70.73 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.3479, allocations: 48.64 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.3484, allocations: 270.5 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.895e-05/0.3485, allocations: 29.03 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.3485, allocations: 44.36 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.3491, allocations: 400.2 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3492, allocations: 3.938 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.3492, allocations: 12 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3492, allocations: 8 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.3497, allocations: 299.6 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.3513, allocations: 0.962 MB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.3514, allocations: 89.16 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.869e-05/0.3515, allocations: 45.8 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3515, allocations: 0 / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.3516, allocations: 46.42 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3516, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003503/0.3519, allocations: 165.4 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.352, allocations: 85.05 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/0.3526, allocations: 0.513 MB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3526, allocations: 25.7 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.3528, allocations: 215.7 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.3528, allocations: 7.953 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.3529, allocations: 53.66 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3531, allocations: 354.8 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3532, allocations: 63.95 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3533, allocations: 91.91 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.3535, allocations: 113.6 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3535, allocations: 7.938 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003238/0.3538, allocations: 209.3 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3538, allocations: 4 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3538, allocations: 0 / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3539, allocations: 3.938 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.354, allocations: 31.92 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.354, allocations: 0 / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.654e-05/0.3541, allocations: 47.62 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.3541, allocations: 4 kB / 1.29 GB, free: 4.98 MB / 0.9825 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.0002204/0.3543, allocations: 203.5 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.3544, allocations: 31.81 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.3546, allocations: 110.1 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3546, allocations: 7.875 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.3546, allocations: 8.062 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3547, allocations: 0 / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.3553, allocations: 0.6048 MB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3553, allocations: 3.984 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.3553, allocations: 4 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3553, allocations: 4 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3553, allocations: 4 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3553, allocations: 3.938 kB / 1.291 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3553, allocations: 4.375 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.3555, allocations: 135.6 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/0.3556, allocations: 43.75 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.3556, allocations: 7.938 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.114e-05/0.3556, allocations: 0 / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.3557, allocations: 11.92 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3557, allocations: 8 kB / 1.291 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004397/0.3561, allocations: 383 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3561, allocations: 0 / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002544/0.3564, allocations: 43.95 kB / 1.291 GB, free: 3.273 MB / 0.9825 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.0005038/0.3569, allocations: 0.6694 MB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.3571, allocations: 104.2 kB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3571, allocations: 192 / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.3571, allocations: 16 kB / 1.292 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.3574, allocations: 39.06 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.361, allocations: 2.894 MB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3612, allocations: 179.8 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.3614, allocations: 58.88 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.3615, allocations: 103.4 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of SimCode: time 1.163e-06/0.3615, allocations: 0 / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.3968, allocations: 6.316 MB / 1.301 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.97, allocations: 7.297 kB / 1.301 GB, free: 8.902 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv. Warning: Get data of variable couTru.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv failed! Error: Could not read variable couTruAllFal.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv. Warning: Get data of variable couTruAllFal.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.724846457131207]