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.0007779/0.0007779, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0007824/0.0007824, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9519/0.9519, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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.809/1.809, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 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 1.954e-06/1.954e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.881e-05, allocations: 6.078 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001439/0.001458, allocations: 0.8483 MB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002275/0.001685, allocations: 91.69 kB / 1.002 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.00176, allocations: 3.938 kB / 1.002 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.001869, allocations: 23.73 kB / 1.002 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.001988, allocations: 15.86 kB / 1.002 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.127e-05/0.00205, allocations: 43.91 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.002252, allocations: 251.4 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.002476, allocations: 174.9 kB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.002604, allocations: 195.6 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.002718, allocations: 115.7 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.002761, allocations: 36 kB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.652e-05/0.002788, allocations: 39.88 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.002851, allocations: 87.73 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.002923, allocations: 95.69 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.003206, allocations: 458.5 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003208, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.963e-06/0.00321, allocations: 4 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.003215, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 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.0004627/0.003677, allocations: 0.5285 MB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.003717, allocations: 13.34 kB / 1.004 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.743e-05/0.003775, allocations: 70.72 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.003818, allocations: 48.66 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.004101, allocations: 269.7 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.004142, allocations: 37.02 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.004169, allocations: 32.38 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.004564, allocations: 404 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.004574, allocations: 192 / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.004593, allocations: 12.38 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.004602, allocations: 16.12 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.004907, allocations: 299.8 kB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009122/0.005819, allocations: 0.9615 MB / 1.006 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.005927, allocations: 89.16 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.005973, allocations: 49.78 kB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.00599, allocations: 0 / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.006006, allocations: 34.56 kB / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.006007, allocations: 0 / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002322/0.006239, allocations: 161.4 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.006272, allocations: 89.11 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.006645, allocations: 0.513 MB / 1.007 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.006661, allocations: 29.7 kB / 1.007 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.006763, allocations: 207.7 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.317e-06/0.006772, allocations: 11.95 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.006825, allocations: 61.64 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.006912, allocations: 342.8 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.006988, allocations: 71.94 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.007069, allocations: 99.64 kB / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.007177, allocations: 109.7 kB / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.007179, allocations: 4 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001896/0.007368, allocations: 209.3 kB / 1.008 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.007381, allocations: 4 kB / 1.008 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.007385, allocations: 4 kB / 1.008 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.007396, allocations: 0 / 1.008 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.007494, allocations: 27.98 kB / 1.008 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.0075, allocations: 4.125 kB / 1.008 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.00755, allocations: 47.56 kB / 1.008 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.007562, allocations: 11.92 kB / 1.008 GB, free: 6.016 MB / 0.9636 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.0001391/0.007702, allocations: 199.8 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.007736, allocations: 27.81 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.007886, allocations: 122.1 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007888, allocations: 0 / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.007893, allocations: 0 / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.007898, allocations: 7.922 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.008392, allocations: 0.605 MB / 1.009 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.008393, allocations: 4.031 kB / 1.009 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.426e-05/0.008408, allocations: 4 kB / 1.009 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.008411, allocations: 3.938 kB / 1.009 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.008417, allocations: 4 kB / 1.009 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.008419, allocations: 0 / 1.009 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.00842, allocations: 0 / 1.009 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.385e-05/0.008504, allocations: 127.9 kB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.008551, allocations: 59.66 kB / 1.009 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.008573, allocations: 0 / 1.009 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.141e-05/0.008605, allocations: 4 kB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.008627, allocations: 15.98 kB / 1.009 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.008629, allocations: 0 / 1.009 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002763/0.008905, allocations: 387 kB / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008905, allocations: 0 / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001634/0.009069, allocations: 39.95 kB / 1.009 GB, free: 4.316 MB / 0.9636 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.0002607/0.00933, allocations: 0.6694 MB / 1.01 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.009478, allocations: 103.9 kB / 1.01 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.00948, allocations: 0 / 1.01 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/0.009496, allocations: 23.88 kB / 1.01 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.009685, allocations: 41.56 kB / 1.01 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.01189, allocations: 2.901 MB / 1.013 GB, free: 448 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.01201, allocations: 187.8 kB / 1.013 GB, free: 240 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.844e-05/0.01207, allocations: 58.94 kB / 1.013 GB, free: 184 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/0.01217, allocations: 92.47 kB / 1.013 GB, free: 92 kB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.01217, allocations: 0 / 1.013 GB, free: 92 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07961/0.09178, allocations: 6.447 MB / 1.02 GB, free: 9.801 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.29/7.382, allocations: 14.61 kB / 1.02 GB, free: 9.789 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.872540313750505]