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.001298/0.001298, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001406/0.001406, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.402/1.402, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.056/3.056, allocations: 0.505 GB / 0.8066 GB, free: 23.07 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.002221/0.002221, allocations: 70.8 kB / 1.172 GB, free: 17.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3415, allocations: 180.2 MB / 1.348 GB, free: 10.07 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002384/0.3439, allocations: 0.8652 MB / 1.349 GB, free: 9.203 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.3441, allocations: 103.6 kB / 1.349 GB, free: 9.102 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.3442, allocations: 4 kB / 1.349 GB, free: 9.098 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.3443, allocations: 19.78 kB / 1.349 GB, free: 9.078 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.3445, allocations: 19.88 kB / 1.349 GB, free: 9.059 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.253e-05/0.3446, allocations: 39.95 kB / 1.349 GB, free: 9.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.3448, allocations: 255.4 kB / 1.349 GB, free: 8.77 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.3452, allocations: 234.7 kB / 1.349 GB, free: 8.535 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.3453, allocations: 123.6 kB / 1.349 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.3455, allocations: 147.3 kB / 1.349 GB, free: 8.27 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.3455, allocations: 32 kB / 1.35 GB, free: 8.238 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-05/0.3456, allocations: 32 kB / 1.35 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.363e-05/0.3457, allocations: 91.7 kB / 1.35 GB, free: 8.117 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3458, allocations: 151.1 kB / 1.35 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.3462, allocations: 466 kB / 1.35 GB, free: 7.512 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3462, allocations: 4 kB / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3462, allocations: 0 / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3462, allocations: 4 kB / 1.35 GB, free: 7.504 MB / 1.045 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.0007142/0.347, allocations: 0.6038 MB / 1.351 GB, free: 6.848 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.347, allocations: 15.98 kB / 1.351 GB, free: 6.832 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.099e-05/0.3471, allocations: 70.72 kB / 1.351 GB, free: 6.754 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.3471, allocations: 44.66 kB / 1.351 GB, free: 6.711 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.3475, allocations: 328.3 kB / 1.351 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.035e-05/0.3476, allocations: 37.03 kB / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.3476, allocations: 32.31 kB / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.3482, allocations: 404 kB / 1.352 GB, free: 5.875 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3482, allocations: 3.938 kB / 1.352 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.3483, allocations: 12 kB / 1.352 GB, free: 5.859 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3483, allocations: 12 kB / 1.352 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.3487, allocations: 299.8 kB / 1.352 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.3501, allocations: 1.065 MB / 1.353 GB, free: 4.434 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.3502, allocations: 85.22 kB / 1.353 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.301e-05/0.3503, allocations: 41.8 kB / 1.353 GB, free: 4.285 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3503, allocations: 3.984 kB / 1.353 GB, free: 4.281 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3504, allocations: 46.5 kB / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3504, allocations: 0 / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0003286/0.3507, allocations: 169.3 kB / 1.353 GB, free: 4.055 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.3507, allocations: 77.11 kB / 1.353 GB, free: 3.961 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/0.3513, allocations: 0.5053 MB / 1.354 GB, free: 3.449 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3513, allocations: 29.7 kB / 1.354 GB, free: 3.414 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.3515, allocations: 203.7 kB / 1.354 GB, free: 3.211 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.3515, allocations: 19.91 kB / 1.354 GB, free: 3.191 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.842e-05/0.3516, allocations: 53.64 kB / 1.354 GB, free: 3.133 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3517, allocations: 346.8 kB / 1.355 GB, free: 2.785 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.3518, allocations: 63.95 kB / 1.355 GB, free: 2.723 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.3519, allocations: 93.5 kB / 1.355 GB, free: 2.625 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.3521, allocations: 117.6 kB / 1.355 GB, free: 2.504 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3521, allocations: 0 / 1.355 GB, free: 2.504 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002959/0.3524, allocations: 213.3 kB / 1.355 GB, free: 2.289 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3524, allocations: 7.938 kB / 1.355 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3524, allocations: 0 / 1.355 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3524, allocations: 3.938 kB / 1.355 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.3526, allocations: 31.98 kB / 1.355 GB, free: 2.246 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3526, allocations: 0 / 1.355 GB, free: 2.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.3527, allocations: 35.67 kB / 1.355 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.3527, allocations: 4 kB / 1.355 GB, free: 2.207 MB / 1.045 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.0002028/0.3529, allocations: 207.5 kB / 1.355 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.3529, allocations: 39.77 kB / 1.355 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.3531, allocations: 114 kB / 1.355 GB, free: 1.836 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3532, allocations: 4.312 kB / 1.355 GB, free: 1.832 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3532, allocations: 0 / 1.355 GB, free: 1.832 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3532, allocations: 4 kB / 1.355 GB, free: 1.828 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.3537, allocations: 0.6526 MB / 1.356 GB, free: 1.105 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3537, allocations: 0 / 1.356 GB, free: 1.105 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.3538, allocations: 15.92 kB / 1.356 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3538, allocations: 4 kB / 1.356 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.3538, allocations: 0 / 1.356 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3538, allocations: 0 / 1.356 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3538, allocations: 4 kB / 1.356 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.3539, allocations: 131.5 kB / 1.356 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.354, allocations: 124.8 kB / 1.356 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.354, allocations: 3.984 kB / 1.356 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.3541, allocations: 7.938 kB / 1.356 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.3541, allocations: 12 kB / 1.356 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3541, allocations: 4 kB / 1.356 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004107/0.3545, allocations: 387 kB / 1.357 GB, free: 388 kB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3545, allocations: 0 / 1.357 GB, free: 388 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002369/0.3548, allocations: 43.95 kB / 1.357 GB, free: 344 kB / 1.045 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.0005176/0.3553, allocations: 0.6657 MB / 1.357 GB, free: 15.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.3555, allocations: 99.81 kB / 1.358 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3555, allocations: 4 kB / 1.358 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.988e-05/0.3556, allocations: 23.88 kB / 1.358 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.3558, allocations: 36.08 kB / 1.358 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.359, allocations: 2.906 MB / 1.36 GB, free: 12.46 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.3594, allocations: 0.7907 MB / 1.361 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.3595, allocations: 62.92 kB / 1.361 GB, free: 11.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3597, allocations: 91.41 kB / 1.361 GB, free: 11.49 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.3597, allocations: 0 / 1.361 GB, free: 11.49 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.3885, allocations: 5.689 MB / 1.367 GB, free: 5.961 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.117, allocations: 4.062 kB / 1.367 GB, free: 5.957 MB / 1.061 GB " [Timeout remaining time 292] (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: 14.453638429986313]