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.001712/0.001712, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002081/0.002081, allocations: 222.1 kB / 22.25 MB, free: 5.254 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.781 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.166/3.166, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] 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.002107/0.002107, allocations: 67.75 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3409, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002386/0.3433, allocations: 0.8585 MB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003045/0.3436, allocations: 87.64 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.3437, allocations: 4 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.3439, allocations: 27.72 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.344, allocations: 11.88 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.3441, allocations: 43.95 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.3444, allocations: 251.5 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.3448, allocations: 179.1 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.3449, allocations: 131.6 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.3451, allocations: 139.3 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.3452, allocations: 36 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.416e-05/0.3452, allocations: 36 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.3453, allocations: 87.7 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.3455, allocations: 123.2 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000496/0.346, allocations: 466 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.346, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.346, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.346, allocations: 0 / 1.328 GB, free: 15.04 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.0007647/0.3467, allocations: 0.5246 MB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3468, allocations: 11.97 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.374e-05/0.3469, allocations: 78.66 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.3469, allocations: 40.66 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.3474, allocations: 275.3 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.3475, allocations: 29.03 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.3475, allocations: 40.31 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.3482, allocations: 396.2 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3482, allocations: 3.938 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.3482, allocations: 12 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.3482, allocations: 11.98 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/0.3487, allocations: 307.3 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.3502, allocations: 0.9657 MB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.3504, allocations: 93.14 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.3504, allocations: 41.8 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.3505, allocations: 4 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3505, allocations: 34.55 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3505, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003469/0.3508, allocations: 169.3 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.3509, allocations: 81.11 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.3515, allocations: 0.513 MB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.3515, allocations: 33.64 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.3517, allocations: 211.7 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.3517, allocations: 11.95 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.3518, allocations: 53.66 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.352, allocations: 346.8 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.3521, allocations: 71.86 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3522, allocations: 87.53 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.3524, allocations: 117.6 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3524, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003227/0.3527, allocations: 213.3 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3527, allocations: 4.188 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3527, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3528, allocations: 7.875 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3529, allocations: 27.98 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3529, allocations: 7.984 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.785e-05/0.353, allocations: 39.62 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.353, allocations: 4 kB / 1.333 GB, free: 9.984 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.0002179/0.3532, allocations: 204 kB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.3533, allocations: 35.81 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.3535, allocations: 122 kB / 1.333 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3535, allocations: 3.938 kB / 1.333 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3535, allocations: 4 kB / 1.333 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3535, allocations: 0 / 1.333 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006342/0.3542, allocations: 0.6009 MB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3542, allocations: 0 / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.3542, allocations: 7.984 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3542, allocations: 8.188 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.3542, allocations: 0 / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3542, allocations: 0 / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3542, allocations: 4 kB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.3544, allocations: 131.4 kB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.657e-05/0.3545, allocations: 48.17 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.3545, allocations: 7.938 kB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.3546, allocations: 0 / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.3546, allocations: 4 kB / 1.334 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3546, allocations: 7.984 kB / 1.334 GB, free: 8.695 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004874/0.3551, allocations: 391 kB / 1.334 GB, free: 8.316 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3551, allocations: 4 kB / 1.334 GB, free: 8.312 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002559/0.3554, allocations: 39.95 kB / 1.334 GB, free: 8.273 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.0005572/0.3559, allocations: 0.6693 MB / 1.335 GB, free: 7.562 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.3561, allocations: 99.88 kB / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.3561, allocations: 0 / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/0.3562, allocations: 15.94 kB / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3565, allocations: 34.28 kB / 1.335 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.3599, allocations: 2.91 MB / 1.338 GB, free: 4.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.3601, allocations: 191.4 kB / 1.338 GB, free: 4.188 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.3603, allocations: 54.94 kB / 1.338 GB, free: 4.137 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3604, allocations: 95.41 kB / 1.338 GB, free: 4.043 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3604, allocations: 0 / 1.338 GB, free: 4.043 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.3965, allocations: 6.352 MB / 1.345 GB, free: 13.85 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.74, allocations: 0 / 1.345 GB, free: 13.85 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.44120015698718]