Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002105/0.002105, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002845/0.002845, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.197/3.197, allocations: 0.49 GB / 0.7959 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="cs",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.002031/0.002031, allocations: 63.09 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3421, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002251/0.3443, allocations: 0.8741 MB / 1.327 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002696/0.3446, allocations: 87.64 kB / 1.328 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.3447, allocations: 4 kB / 1.328 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3448, allocations: 27.78 kB / 1.328 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.3449, allocations: 7.875 kB / 1.328 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.033e-05/0.345, allocations: 43.95 kB / 1.328 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.3453, allocations: 255.4 kB / 1.328 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.3456, allocations: 179.1 kB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3457, allocations: 127.6 kB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.3459, allocations: 147.3 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.346, allocations: 36 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.65e-05/0.346, allocations: 32 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.891e-05/0.3461, allocations: 87.7 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.3463, allocations: 159.2 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.3467, allocations: 462 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3467, allocations: 0 / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3467, allocations: 0 / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3467, allocations: 0 / 1.329 GB, free: 15.48 MB / 1.029 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.0007041/0.3474, allocations: 0.5246 MB / 1.33 GB, free: 14.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3475, allocations: 15.97 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.54e-05/0.3475, allocations: 16.84 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.681e-05/0.3476, allocations: 74.72 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/0.3476, allocations: 44.64 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.3481, allocations: 267.2 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.281e-05/0.3481, allocations: 33.03 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.3482, allocations: 36.31 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/0.3488, allocations: 404 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3488, allocations: 3.984 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.3488, allocations: 16 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.3489, allocations: 8 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.3493, allocations: 299.4 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.3508, allocations: 1.028 MB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.3509, allocations: 85.22 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.154e-05/0.351, allocations: 45.78 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.351, allocations: 4 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3511, allocations: 38.5 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3511, allocations: 0 / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003552/0.3514, allocations: 169.3 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.3515, allocations: 81.11 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/0.352, allocations: 0.5053 MB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3521, allocations: 33.64 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.3522, allocations: 207.7 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.3523, allocations: 19.84 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.3523, allocations: 57.69 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3525, allocations: 338.8 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.3526, allocations: 71.95 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3528, allocations: 89.66 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.3529, allocations: 117.5 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3529, allocations: 0 / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003183/0.3532, allocations: 209.3 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3533, allocations: 7.938 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3533, allocations: 0 / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3533, allocations: 7.938 kB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3534, allocations: 27.98 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.3534, allocations: 4 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.3535, allocations: 27.73 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.3536, allocations: 15.98 kB / 1.334 GB, free: 10.36 MB / 1.029 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.000203/0.3538, allocations: 200 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.3538, allocations: 35.77 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.354, allocations: 122 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.354, allocations: 0 / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3541, allocations: 4 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3541, allocations: 384 / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006047/0.3547, allocations: 0.6322 MB / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3547, allocations: 0 / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.3547, allocations: 7.938 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3547, allocations: 0 / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.3547, allocations: 4 kB / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3547, allocations: 4 kB / 1.335 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3547, allocations: 3.984 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.3549, allocations: 135.4 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/0.3549, allocations: 43.94 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.355, allocations: 7.984 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.355, allocations: 11.88 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.3551, allocations: 4 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3551, allocations: 4 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004462/0.3555, allocations: 395 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3555, allocations: 4 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002497/0.3558, allocations: 35.94 kB / 1.335 GB, free: 8.621 MB / 1.029 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.000478/0.3562, allocations: 0.6749 MB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.3564, allocations: 95.89 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3564, allocations: 4 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.234e-05/0.3565, allocations: 19.92 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.3567, allocations: 25.66 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.3601, allocations: 2.911 MB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.3605, allocations: 0.7907 MB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.3606, allocations: 58.94 kB / 1.34 GB, free: 3.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3608, allocations: 91.41 kB / 1.34 GB, free: 3.785 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3608, allocations: 4 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.3885, allocations: 5.893 MB / 1.346 GB, free: 14.05 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.97, allocations: 9.078 kB / 1.346 GB, free: 14.04 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.785521570011042]