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.001963/0.001963, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00265/0.00265, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.988 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.27/3.27, allocations: 0.49 GB / 0.7951 GB, free: 33.31 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",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.00219/0.00219, allocations: 67.69 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3702, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002864/0.373, allocations: 0.8701 MB / 1.327 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003783/0.3734, allocations: 91.69 kB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.3735, allocations: 4 kB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.3737, allocations: 27.72 kB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.3739, allocations: 19.86 kB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.374, allocations: 39.97 kB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.3743, allocations: 247.5 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003839/0.3747, allocations: 179 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.3749, allocations: 135.5 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.3751, allocations: 139.3 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-05/0.3751, allocations: 36 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.389e-05/0.3752, allocations: 32 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3753, allocations: 87.7 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.3755, allocations: 159.2 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005247/0.376, allocations: 466 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.376, allocations: 3.938 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.376, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.376, allocations: 3.938 kB / 1.328 GB, free: 15.47 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.0009177/0.377, allocations: 0.5285 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.377, allocations: 8.031 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.068e-05/0.3771, allocations: 70.72 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.3772, allocations: 48.66 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.3777, allocations: 275.2 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/0.3777, allocations: 33.02 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.3778, allocations: 32.38 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.3785, allocations: 400.2 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3785, allocations: 3.938 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.3785, allocations: 12 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.3786, allocations: 8 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.3791, allocations: 307.3 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.3807, allocations: 1.024 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3809, allocations: 89.16 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/0.3809, allocations: 45.78 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.381, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.381, allocations: 34.56 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.381, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003835/0.3814, allocations: 169.3 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.3815, allocations: 77.11 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/0.3821, allocations: 0.5092 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.3821, allocations: 29.7 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.3823, allocations: 211.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.3823, allocations: 19.83 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/0.3824, allocations: 53.69 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3826, allocations: 346.8 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3827, allocations: 67.94 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3829, allocations: 87.48 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.3831, allocations: 113.6 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3831, allocations: 8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000361/0.3834, allocations: 209.3 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3834, allocations: 8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3834, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3835, allocations: 3.938 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3836, allocations: 27.98 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3836, allocations: 3.938 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3838, allocations: 35.73 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.3838, allocations: 7.984 kB / 1.333 GB, free: 10.38 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.0002475/0.384, allocations: 200.1 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.3841, allocations: 35.77 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.3844, allocations: 114.1 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3844, allocations: 3.938 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3844, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3844, allocations: 7.984 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007341/0.3851, allocations: 0.6321 MB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3851, allocations: 0 / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.3852, allocations: 4 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3852, allocations: 0 / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.3852, allocations: 4 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3852, allocations: 320 / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.3852, allocations: 11.98 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.3854, allocations: 139.7 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.854e-05/0.3855, allocations: 43.77 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.3855, allocations: 8.031 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.3856, allocations: 7.984 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.3856, allocations: 4 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3856, allocations: 3.938 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004884/0.3861, allocations: 391 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3861, allocations: 0 / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002689/0.3864, allocations: 43.94 kB / 1.335 GB, free: 8.641 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.0005684/0.3869, allocations: 0.6693 MB / 1.335 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.3872, allocations: 95.89 kB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3872, allocations: 0 / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/0.3872, allocations: 23.92 kB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.3875, allocations: 29.66 kB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.3916, allocations: 2.911 MB / 1.338 GB, free: 4.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.3922, allocations: 0.7946 MB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.3923, allocations: 54.94 kB / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.3925, allocations: 95.41 kB / 1.339 GB, free: 3.801 MB / 1.029 GB Notification: Performance of SimCode: time 1.303e-06/0.3925, allocations: 384 / 1.339 GB, free: 3.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03802/0.4305, allocations: 5.858 MB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12, allocations: 3.938 kB / 1.345 GB, free: 14.09 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.81259215902537]