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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.505/2.505, allocations: 476.7 MB / 0.7628 GB, free: 15.08 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 71.88 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.7414, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001865/0.7432, allocations: 0.8781 MB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000218/0.7434, allocations: 88.64 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.7435, allocations: 3.625 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.7436, allocations: 22.53 kB / 1.272 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.7437, allocations: 12.91 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.602e-05/0.7438, allocations: 44.5 kB / 1.272 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.744, allocations: 257.5 kB / 1.273 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.7443, allocations: 177.2 kB / 1.273 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.7444, allocations: 128.5 kB / 1.273 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.7445, allocations: 147.3 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.7446, allocations: 32.66 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.485e-05/0.7446, allocations: 36.5 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.7447, allocations: 83 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.564e-05/0.7448, allocations: 155.5 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.7451, allocations: 462.7 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.7451, allocations: 0 / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7451, allocations: 5.344 kB / 1.274 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.7451, allocations: 0 / 1.274 GB, free: 6.32 MB / 0.9981 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.0005065/0.7456, allocations: 0.6017 MB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.7457, allocations: 9.469 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.7457, allocations: 70.33 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.7458, allocations: 40.89 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.7461, allocations: 340.2 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.7461, allocations: 33.28 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.7462, allocations: 37.44 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.7467, allocations: 398.4 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.7467, allocations: 4.656 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.7467, allocations: 14.62 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.7467, allocations: 8.062 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.7471, allocations: 302.4 kB / 1.276 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.7482, allocations: 1.054 MB / 1.277 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.7483, allocations: 90 kB / 1.277 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.7484, allocations: 44.19 kB / 1.277 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.7484, allocations: 6.047 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.7484, allocations: 35.38 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.7484, allocations: 0.9062 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.00028/0.7487, allocations: 175.9 kB / 1.277 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.7487, allocations: 82.14 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.7491, allocations: 0.5085 MB / 1.278 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.7492, allocations: 26.55 kB / 1.278 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.072e-05/0.7492, allocations: 204.6 kB / 1.278 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.7493, allocations: 15.84 kB / 1.278 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.7493, allocations: 65.33 kB / 1.278 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.7494, allocations: 340.1 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.883e-05/0.7495, allocations: 69.53 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.7496, allocations: 87.97 kB / 1.278 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.7497, allocations: 117.4 kB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.7497, allocations: 0 / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002558/0.75, allocations: 206.3 kB / 1.279 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.75, allocations: 9.656 kB / 1.279 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.75, allocations: 0 / 1.279 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.75, allocations: 6.438 kB / 1.279 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.7501, allocations: 29.72 kB / 1.279 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.7501, allocations: 1.938 kB / 1.279 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.7502, allocations: 42.03 kB / 1.279 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.7502, allocations: 13.09 kB / 1.279 GB, free: 3.074 MB / 0.9981 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.0001452/0.7504, allocations: 202 kB / 1.279 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.7504, allocations: 30.44 kB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.7506, allocations: 118.6 kB / 1.279 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.7506, allocations: 5.531 kB / 1.279 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7506, allocations: 0.6562 kB / 1.279 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.7506, allocations: 0.9375 kB / 1.279 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.751, allocations: 0.6568 MB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.751, allocations: 1.812 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.751, allocations: 7.875 kB / 1.28 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.751, allocations: 1.438 kB / 1.28 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.7511, allocations: 1.469 kB / 1.28 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.7511, allocations: 6.328 kB / 1.28 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7511, allocations: 1.281 kB / 1.28 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.7512, allocations: 129.3 kB / 1.28 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.7512, allocations: 121.1 kB / 1.28 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.7513, allocations: 5.859 kB / 1.28 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.992e-05/0.7513, allocations: 3.156 kB / 1.28 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.7513, allocations: 12.81 kB / 1.28 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.7513, allocations: 2.969 kB / 1.28 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003926/0.7517, allocations: 389.8 kB / 1.28 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7517, allocations: 0 / 1.28 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002318/0.7519, allocations: 44.67 kB / 1.28 GB, free: 1.82 MB / 0.9981 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.0002465/0.7522, allocations: 0.6687 MB / 1.281 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.7524, allocations: 102.4 kB / 1.281 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7524, allocations: 1.375 kB / 1.281 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.7524, allocations: 12.92 kB / 1.281 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.7526, allocations: 38.47 kB / 1.281 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.7552, allocations: 2.91 MB / 1.284 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.7556, allocations: 0.7897 MB / 1.285 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.627e-05/0.7556, allocations: 57.7 kB / 1.285 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.7558, allocations: 99.08 kB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.7558, allocations: 0 / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.7838, allocations: 5.655 MB / 1.29 GB, free: 13.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/8.016, allocations: 11.05 kB / 1.29 GB, free: 13.87 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.351819231000263]