Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008267/0.0008267, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 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.0009138/0.0009138, allocations: 212.6 kB / 23.02 MB, free: 2.965 MB / 13.93 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.039/1.039, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.931/1.931, allocations: 0.5046 GB / 0.8104 GB, free: 2.781 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009038/0.0009038, allocations: 71.89 kB / 1.177 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7574/0.7583, allocations: 180 MB / 1.352 GB, free: 1.676 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001808/0.7601, allocations: 0.8327 MB / 1.353 GB, free: 0.8438 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0002686/0.7604, allocations: 87.69 kB / 1.353 GB, free: 0.7578 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.804e-05/0.7605, allocations: 11.88 kB / 1.353 GB, free: 0.7461 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.7606, allocations: 23.78 kB / 1.353 GB, free: 0.7227 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.7607, allocations: 19.86 kB / 1.353 GB, free: 0.7031 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 6.665e-05/0.7608, allocations: 39.97 kB / 1.353 GB, free: 0.6641 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.761, allocations: 255.4 kB / 1.354 GB, free: 424 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.7612, allocations: 174.8 kB / 1.354 GB, free: 248 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.7613, allocations: 127.6 kB / 1.354 GB, free: 120 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.7615, allocations: 155.2 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.7615, allocations: 32 kB / 1.354 GB, free: 15.93 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.067e-05/0.7616, allocations: 32 kB / 1.354 GB, free: 15.9 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.7616, allocations: 83.72 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.03e-05/0.7617, allocations: 123.3 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.762, allocations: 464.2 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.762, allocations: 4 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.762, allocations: 0 / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.762, allocations: 0 / 1.355 GB, free: 15.24 MB / 1.042 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.0005287/0.7626, allocations: 0.5302 MB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.7626, allocations: 12.92 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.7627, allocations: 74.66 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.7627, allocations: 44.7 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.763, allocations: 278.4 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.7631, allocations: 37.02 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.7631, allocations: 40.36 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.7635, allocations: 404 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.7635, allocations: 3.938 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.7635, allocations: 12 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.7635, allocations: 8 kB / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.7639, allocations: 299.8 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009572/0.7648, allocations: 0.9537 MB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.765, allocations: 89.16 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.765, allocations: 49.78 kB / 1.358 GB, free: 12.29 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.765, allocations: 4 kB / 1.358 GB, free: 12.28 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.7651, allocations: 34.5 kB / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.7651, allocations: 0 / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.0002522/0.7653, allocations: 169.3 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.7653, allocations: 81.05 kB / 1.358 GB, free: 11.97 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.7657, allocations: 0.513 MB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.7657, allocations: 33.7 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.7658, allocations: 199.7 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.7659, allocations: 19.89 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.7659, allocations: 53.69 kB / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.766, allocations: 346.8 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.7661, allocations: 71.86 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.241e-05/0.7662, allocations: 89.66 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.7663, allocations: 117.5 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7663, allocations: 0 / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002025/0.7665, allocations: 209.3 kB / 1.359 GB, free: 10.29 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.7665, allocations: 6.031 kB / 1.359 GB, free: 10.28 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7665, allocations: 0 / 1.359 GB, free: 10.28 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.7665, allocations: 8.312 kB / 1.359 GB, free: 10.27 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.7666, allocations: 31.92 kB / 1.359 GB, free: 10.24 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7666, allocations: 0 / 1.359 GB, free: 10.24 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.7667, allocations: 35.67 kB / 1.359 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.7667, allocations: 12 kB / 1.36 GB, free: 10.2 MB / 1.042 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.0001449/0.7668, allocations: 208 kB / 1.36 GB, free: 9.984 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.7669, allocations: 31.77 kB / 1.36 GB, free: 9.953 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.767, allocations: 110.1 kB / 1.36 GB, free: 9.832 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.767, allocations: 11.88 kB / 1.36 GB, free: 9.82 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.767, allocations: 4.062 kB / 1.36 GB, free: 9.816 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7671, allocations: 0 / 1.36 GB, free: 9.816 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.7674, allocations: 0.6048 MB / 1.36 GB, free: 9.148 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7674, allocations: 4 kB / 1.36 GB, free: 9.145 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.7675, allocations: 7.938 kB / 1.36 GB, free: 9.137 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.7675, allocations: 0 / 1.36 GB, free: 9.137 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.7675, allocations: 0 / 1.36 GB, free: 9.137 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.7675, allocations: 7.938 kB / 1.36 GB, free: 9.129 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7675, allocations: 0 / 1.36 GB, free: 9.129 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.212e-05/0.7676, allocations: 139.5 kB / 1.361 GB, free: 8.965 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.7676, allocations: 43.75 kB / 1.361 GB, free: 8.922 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.7676, allocations: 8 kB / 1.361 GB, free: 8.914 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.7677, allocations: 4.188 kB / 1.361 GB, free: 8.91 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.7677, allocations: 7.922 kB / 1.361 GB, free: 8.902 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.7677, allocations: 7.938 kB / 1.361 GB, free: 8.895 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0002735/0.768, allocations: 391 kB / 1.361 GB, free: 8.52 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.768, allocations: 0 / 1.361 GB, free: 8.52 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001703/0.7681, allocations: 43.89 kB / 1.361 GB, free: 8.477 MB / 1.042 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.0003031/0.7684, allocations: 0.6617 MB / 1.362 GB, free: 7.773 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.7686, allocations: 103.8 kB / 1.362 GB, free: 7.672 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7686, allocations: 0 / 1.362 GB, free: 7.672 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/0.7686, allocations: 16 kB / 1.362 GB, free: 7.656 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.7688, allocations: 33.58 kB / 1.362 GB, free: 7.621 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.7711, allocations: 2.89 MB / 1.365 GB, free: 4.629 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.7712, allocations: 183.8 kB / 1.365 GB, free: 4.43 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.962e-05/0.7713, allocations: 66.86 kB / 1.365 GB, free: 4.367 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.7714, allocations: 91.41 kB / 1.365 GB, free: 4.277 MB / 1.042 GB Notification: Performance of SimCode: time 6.21e-07/0.7714, allocations: 4 kB / 1.365 GB, free: 4.273 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08673/0.8581, allocations: 6.323 MB / 1.371 GB, free: 14.1 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/7.825, allocations: 9.203 kB / 1.371 GB, free: 14.1 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_fmpy.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.66949596721679]