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.001829/0.001829, allocations: 105.8 kB / 16.4 MB, free: 6.488 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.00206/0.00206, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.461/1.461, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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.773/2.773, allocations: 469.8 MB / 0.749 GB, free: 3.035 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.002089/0.002089, allocations: 63.91 kB / 1.073 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8261/0.8282, allocations: 159.1 MB / 1.229 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002573/0.8308, allocations: 0.8496 MB / 1.229 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003301/0.8312, allocations: 91.62 kB / 1.23 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.8313, allocations: 4 kB / 1.23 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.8315, allocations: 19.8 kB / 1.23 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.8316, allocations: 15.86 kB / 1.23 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.038e-05/0.8317, allocations: 39.97 kB / 1.23 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.8322, allocations: 263.4 kB / 1.23 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.8326, allocations: 294.1 kB / 1.23 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.8328, allocations: 131.5 kB / 1.23 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.833, allocations: 147.3 kB / 1.23 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.8331, allocations: 32 kB / 1.23 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.8332, allocations: 32 kB / 1.23 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.8333, allocations: 83.77 kB / 1.231 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.8335, allocations: 155.1 kB / 1.231 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005758/0.8341, allocations: 460 kB / 1.231 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.8341, allocations: 4 kB / 1.231 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.288e-06/0.8341, allocations: 3.984 kB / 1.231 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.8341, allocations: 0 / 1.231 GB, free: 15.19 MB / 0.9512 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.001052/0.8352, allocations: 0.6 MB / 1.232 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.8352, allocations: 15.97 kB / 1.232 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.8354, allocations: 70.72 kB / 1.232 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.8355, allocations: 44.64 kB / 1.232 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.836, allocations: 332.3 kB / 1.232 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-05/0.836, allocations: 41.02 kB / 1.232 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.8361, allocations: 32.38 kB / 1.232 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.8368, allocations: 408.1 kB / 1.233 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.8368, allocations: 3.938 kB / 1.233 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.8369, allocations: 8 kB / 1.233 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.8369, allocations: 8 kB / 1.233 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.8374, allocations: 303.6 kB / 1.233 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.8389, allocations: 1.058 MB / 1.234 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.839, allocations: 89.25 kB / 1.234 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/0.8391, allocations: 53.69 kB / 1.234 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.8392, allocations: 0 / 1.234 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.8392, allocations: 38.5 kB / 1.234 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.8392, allocations: 0 / 1.234 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0003489/0.8396, allocations: 169.3 kB / 1.234 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.8396, allocations: 85.03 kB / 1.234 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/0.8402, allocations: 0.5053 MB / 1.235 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.8403, allocations: 29.7 kB / 1.235 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.8404, allocations: 203.8 kB / 1.235 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.8405, allocations: 19.88 kB / 1.235 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.775e-05/0.8406, allocations: 57.66 kB / 1.235 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.8407, allocations: 342.8 kB / 1.236 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.8409, allocations: 67.95 kB / 1.236 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.841, allocations: 89.66 kB / 1.236 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.8412, allocations: 117.5 kB / 1.236 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8412, allocations: 0 / 1.236 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003303/0.8415, allocations: 209.4 kB / 1.236 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8416, allocations: 4 kB / 1.236 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.8416, allocations: 4 kB / 1.236 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8416, allocations: 3.938 kB / 1.236 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.8417, allocations: 31.92 kB / 1.236 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8418, allocations: 0 / 1.236 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.8418, allocations: 35.62 kB / 1.236 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.8419, allocations: 12 kB / 1.236 GB, free: 9.883 MB / 0.9512 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.0002348/0.8421, allocations: 208.5 kB / 1.236 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.8422, allocations: 28.19 kB / 1.236 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.8424, allocations: 110 kB / 1.236 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.8424, allocations: 15.86 kB / 1.236 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8425, allocations: 3.938 kB / 1.236 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.8425, allocations: 0 / 1.236 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007151/0.8432, allocations: 0.6565 MB / 1.237 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.8432, allocations: 3.984 kB / 1.237 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.8432, allocations: 4 kB / 1.237 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8432, allocations: 0 / 1.237 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.8432, allocations: 0 / 1.237 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.8433, allocations: 11.92 kB / 1.237 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8433, allocations: 0 / 1.237 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.8434, allocations: 131.6 kB / 1.237 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.8435, allocations: 116.9 kB / 1.237 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.8436, allocations: 4.188 kB / 1.237 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.14e-05/0.8436, allocations: 4 kB / 1.237 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.8436, allocations: 19.86 kB / 1.237 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.8437, allocations: 8 kB / 1.237 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004502/0.8441, allocations: 391 kB / 1.238 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8441, allocations: 0 / 1.238 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002424/0.8444, allocations: 39.89 kB / 1.238 GB, free: 8.016 MB / 0.9512 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.0005178/0.8449, allocations: 0.6718 MB / 1.238 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.8452, allocations: 111.8 kB / 1.239 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8452, allocations: 0 / 1.239 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.659e-05/0.8452, allocations: 12 kB / 1.239 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.8455, allocations: 29.81 kB / 1.239 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.849, allocations: 2.921 MB / 1.241 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.8494, allocations: 0.787 MB / 1.242 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001276/0.8495, allocations: 54.94 kB / 1.242 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.8497, allocations: 95.34 kB / 1.242 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of SimCode: time 6.21e-07/0.8497, allocations: 4 kB / 1.242 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.8776, allocations: 5.667 MB / 1.248 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/9.239, allocations: 4.062 kB / 1.248 GB, free: 13.65 MB / 0.9669 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.16367918998003]