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.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.001958/0.001958, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002437/0.002437, allocations: 217.5 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.752/2.752, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_11_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.002007/0.002007, allocations: 63.53 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3268, allocations: 170 MB / 1.284 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002295/0.3291, allocations: 0.8713 MB / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002634/0.3294, allocations: 89.48 kB / 1.285 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.372e-05/0.3295, allocations: 7.938 kB / 1.285 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.3296, allocations: 23.8 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.3297, allocations: 19.86 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.103e-05/0.3298, allocations: 39.95 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.3301, allocations: 255.4 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.3304, allocations: 174.7 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3306, allocations: 131.5 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.3308, allocations: 143.3 kB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.3308, allocations: 32 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.532e-05/0.3309, allocations: 32 kB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.331, allocations: 91.7 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.3311, allocations: 155.1 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.3316, allocations: 462.2 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3316, allocations: 0 / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3316, allocations: 0 / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3316, allocations: 7.984 kB / 1.287 GB, free: 9.082 MB / 0.9825 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.0007938/0.3324, allocations: 0.5246 MB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3324, allocations: 8.031 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.261e-05/0.3324, allocations: 8.844 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.454e-05/0.3325, allocations: 74.66 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.3326, allocations: 48.66 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.333, allocations: 270.5 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.3331, allocations: 41.02 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.509e-05/0.3331, allocations: 28.38 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/0.3338, allocations: 407.9 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3338, allocations: 0 / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.3338, allocations: 12 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.3338, allocations: 8 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.3343, allocations: 311.6 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.3359, allocations: 1.02 MB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.336, allocations: 89.16 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.716e-05/0.3361, allocations: 45.8 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3361, allocations: 0 / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.3361, allocations: 34.5 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.3361, allocations: 0 / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003566/0.3365, allocations: 169.4 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.3366, allocations: 88.98 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.3371, allocations: 0.5053 MB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3372, allocations: 29.7 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.3373, allocations: 203.7 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.3373, allocations: 23.83 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.3374, allocations: 49.7 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3376, allocations: 342.8 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.3377, allocations: 71.95 kB / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3378, allocations: 89.56 kB / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.338, allocations: 121.5 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.338, allocations: 0 / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000322/0.3384, allocations: 209.3 kB / 1.291 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3384, allocations: 8 kB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3384, allocations: 0 / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3384, allocations: 3.938 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.3386, allocations: 31.92 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3386, allocations: 0 / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.523e-05/0.3386, allocations: 35.73 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3387, allocations: 4 kB / 1.291 GB, free: 3.984 MB / 0.9825 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.0002262/0.3389, allocations: 209.6 kB / 1.292 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.339, allocations: 31.77 kB / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.3392, allocations: 118.1 kB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3392, allocations: 3.938 kB / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3392, allocations: 0 / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3392, allocations: 4.062 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/0.3398, allocations: 0.6282 MB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3398, allocations: 4 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.3398, allocations: 4 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3398, allocations: 0 / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.3398, allocations: 4.125 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3398, allocations: 7.938 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3398, allocations: 0 / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.34, allocations: 131.8 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.3401, allocations: 47.8 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.3401, allocations: 11.98 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.318e-05/0.3402, allocations: 4.188 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.3402, allocations: 15.86 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.3402, allocations: 3.938 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004354/0.3406, allocations: 391 kB / 1.293 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3406, allocations: 0 / 1.293 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002421/0.3409, allocations: 39.94 kB / 1.293 GB, free: 2.242 MB / 0.9825 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.0004695/0.3413, allocations: 0.6655 MB / 1.294 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.3415, allocations: 107.8 kB / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3416, allocations: 4 kB / 1.294 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.3416, allocations: 12 kB / 1.294 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3419, allocations: 39.12 kB / 1.294 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.3454, allocations: 2.9 MB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.3459, allocations: 0.7909 MB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.346, allocations: 62.86 kB / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.3461, allocations: 95.41 kB / 1.297 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.62e-07/0.3461, allocations: 0 / 1.297 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.3741, allocations: 5.882 MB / 1.303 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.96, allocations: 17.83 kB / 1.303 GB, free: 7.672 MB / 0.9981 GB " [Timeout remaining time 287] (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/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: 18.698647260956932]