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.001744/0.001744, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002073/0.002073, allocations: 216.2 kB / 23.03 MB, free: 4.922 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.205/3.205, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.002061/0.002061, allocations: 68.28 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3819, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002523/0.3844, allocations: 0.8353 MB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003326/0.3848, allocations: 95.62 kB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.3849, allocations: 4 kB / 1.328 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.385, allocations: 27.72 kB / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3851, allocations: 19.86 kB / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.317e-05/0.3852, allocations: 39.97 kB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.3855, allocations: 251.5 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.3859, allocations: 175.1 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.386, allocations: 131.5 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.3862, allocations: 147.3 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.3863, allocations: 32 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.3863, allocations: 39.94 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.649e-05/0.3864, allocations: 83.72 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.3865, allocations: 123.3 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.387, allocations: 466 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.387, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3871, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3871, allocations: 0 / 1.329 GB, free: 15.05 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.0008159/0.3879, allocations: 0.5285 MB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3879, allocations: 12.03 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.866e-05/0.3879, allocations: 16.77 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.664e-05/0.388, allocations: 74.72 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7e-05/0.3881, allocations: 44.66 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.3885, allocations: 267.2 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.3886, allocations: 41.02 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.3886, allocations: 28.38 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.3893, allocations: 400 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3893, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.3893, allocations: 15.94 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.3893, allocations: 11.98 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.3898, allocations: 311.3 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.3913, allocations: 0.9618 MB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3915, allocations: 93.16 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.3915, allocations: 45.78 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3916, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3916, allocations: 34.56 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3916, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003578/0.3919, allocations: 173.3 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.392, allocations: 77.11 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005948/0.3926, allocations: 0.5053 MB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3926, allocations: 29.7 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.3928, allocations: 211.7 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.3928, allocations: 19.83 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/0.3929, allocations: 53.69 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3931, allocations: 346.8 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3932, allocations: 67.86 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3933, allocations: 85.66 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.3935, allocations: 121.5 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3935, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003287/0.3938, allocations: 213.3 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3938, allocations: 8 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3938, allocations: 0 / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3939, allocations: 7.938 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.394, allocations: 23.98 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.394, allocations: 4 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.581e-05/0.3941, allocations: 31.73 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.3941, allocations: 8 kB / 1.334 GB, free: 9.996 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.0002207/0.3943, allocations: 206.5 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.3944, allocations: 39.75 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.3947, allocations: 118 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3947, allocations: 4 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3947, allocations: 0 / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3947, allocations: 4.125 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006346/0.3953, allocations: 0.6126 MB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3953, allocations: 7.938 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.3953, allocations: 192 / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3954, allocations: 8 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3954, allocations: 0 / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3954, allocations: 4 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3954, allocations: 0 / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3955, allocations: 135.3 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/0.3956, allocations: 43.75 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.3956, allocations: 4 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.3957, allocations: 4 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.3957, allocations: 7.984 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3957, allocations: 4 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004506/0.3962, allocations: 391 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3962, allocations: 0 / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002538/0.3964, allocations: 39.94 kB / 1.335 GB, free: 8.277 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.0004927/0.3969, allocations: 0.6713 MB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.3972, allocations: 99.88 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3972, allocations: 0 / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.927e-05/0.3972, allocations: 16.12 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3975, allocations: 38.73 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.401, allocations: 2.912 MB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.4012, allocations: 183.4 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001238/0.4013, allocations: 62.86 kB / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.4015, allocations: 95.41 kB / 1.339 GB, free: 4.047 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.4015, allocations: 0 / 1.339 GB, free: 4.047 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.4304, allocations: 5.951 MB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.1, allocations: 6.516 kB / 1.345 GB, free: 14.28 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.97016673500184]