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.00135/0.00135, allocations: 115.5 kB / 17.16 MB, free: 5.895 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.001513/0.001513, allocations: 215 kB / 20.13 MB, free: 2.949 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.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.053/3.053, allocations: 0.49 GB / 0.7923 GB, free: 1.422 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.001988/0.001988, allocations: 71.89 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9003/0.9023, allocations: 176.1 MB / 1.321 GB, free: 24.8 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001909/0.9042, allocations: 0.8612 MB / 1.322 GB, free: 24.24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002627/0.9045, allocations: 99.86 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.9046, allocations: 2.844 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.9047, allocations: 21.38 kB / 1.322 GB, free: 24.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.9048, allocations: 17.78 kB / 1.322 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.052e-05/0.9049, allocations: 39.08 kB / 1.322 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.9051, allocations: 251.5 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.9054, allocations: 241.7 kB / 1.323 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.9055, allocations: 129.9 kB / 1.323 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.9056, allocations: 144.2 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.9057, allocations: 29.81 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-05/0.9057, allocations: 34.91 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.9058, allocations: 88.39 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.172e-05/0.9059, allocations: 152.3 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.9062, allocations: 463.7 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9062, allocations: 10.81 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9062, allocations: 0 / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.9062, allocations: 0 / 1.324 GB, free: 23.4 MB / 1.061 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.0005861/0.9068, allocations: 0.5923 MB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.9068, allocations: 14.77 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.67e-05/0.9068, allocations: 10.5 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.9069, allocations: 78.05 kB / 1.325 GB, free: 22.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.907, allocations: 41.75 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.9073, allocations: 336.9 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.9073, allocations: 37.7 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.9074, allocations: 30.25 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.9079, allocations: 405.5 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.9079, allocations: 0 / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.9079, allocations: 10.44 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.9079, allocations: 10.22 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.9083, allocations: 306.8 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.9097, allocations: 1.052 MB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.9098, allocations: 83.17 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/0.9099, allocations: 46.47 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.9099, allocations: 12.44 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.9099, allocations: 36.12 kB / 1.327 GB, free: 21.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.9099, allocations: 0 / 1.327 GB, free: 21.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0003883/0.9103, allocations: 165.2 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.9104, allocations: 82.02 kB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.911, allocations: 0.5089 MB / 1.328 GB, free: 21.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.911, allocations: 29.67 kB / 1.328 GB, free: 20.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.9111, allocations: 208.5 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.9111, allocations: 22.58 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.9112, allocations: 51.58 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.9113, allocations: 346.1 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.9114, allocations: 65.45 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.9116, allocations: 85.44 kB / 1.328 GB, free: 20.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.9117, allocations: 127.8 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9117, allocations: 0 / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003074/0.912, allocations: 213 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.9121, allocations: 5.594 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9121, allocations: 1 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.9121, allocations: 4.75 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.9122, allocations: 30.66 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.9123, allocations: 4.562 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.9123, allocations: 34.17 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.9124, allocations: 9.875 kB / 1.329 GB, free: 20.16 MB / 1.061 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.0001771/0.9125, allocations: 209.4 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.9126, allocations: 34.64 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.9128, allocations: 119.9 kB / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.9128, allocations: 4.781 kB / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9128, allocations: 1.625 kB / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9128, allocations: 0 / 1.329 GB, free: 19.9 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000539/0.9134, allocations: 0.6568 MB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9134, allocations: 0 / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.9134, allocations: 4.422 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.9134, allocations: 1.703 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.9134, allocations: 2.219 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.9134, allocations: 5.922 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.9134, allocations: 1.25 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.9135, allocations: 136.9 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.9136, allocations: 121.1 kB / 1.33 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.9136, allocations: 2.281 kB / 1.33 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.9137, allocations: 6.938 kB / 1.33 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.9137, allocations: 7.969 kB / 1.33 GB, free: 19.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.9137, allocations: 2.375 kB / 1.33 GB, free: 19.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004638/0.9142, allocations: 387 kB / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9142, allocations: 0 / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002516/0.9144, allocations: 40.91 kB / 1.331 GB, free: 18.91 MB / 1.061 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.000295/0.9147, allocations: 0.674 MB / 1.331 GB, free: 18.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.9149, allocations: 104.3 kB / 1.331 GB, free: 18.21 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.915, allocations: 0 / 1.331 GB, free: 18.21 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.915, allocations: 20.84 kB / 1.331 GB, free: 18.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.9152, allocations: 27.27 kB / 1.331 GB, free: 18.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.9184, allocations: 2.91 MB / 1.334 GB, free: 16.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.9187, allocations: 0.7957 MB / 1.335 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.9189, allocations: 57.47 kB / 1.335 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.919, allocations: 94.3 kB / 1.335 GB, free: 15.64 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.919, allocations: 0 / 1.335 GB, free: 15.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.9436, allocations: 5.726 MB / 1.341 GB, free: 14.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.573/9.517, allocations: 4.094 kB / 1.341 GB, free: 14.96 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.087234942999203]