Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 199.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 497.2 MB / 0.7845 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 71.25 kB / 1.139 GB, free: 33.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3276, allocations: 173.9 MB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002141/0.3298, allocations: 0.8672 MB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002635/0.33, allocations: 87.64 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.226e-05/0.3301, allocations: 4 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.3303, allocations: 27.73 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.3304, allocations: 15.84 kB / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.833e-05/0.3305, allocations: 39.97 kB / 1.31 GB, free: 14.9 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.3308, allocations: 251.4 kB / 1.311 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.3311, allocations: 174.3 kB / 1.311 GB, free: 14.49 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.3312, allocations: 139.4 kB / 1.311 GB, free: 14.35 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.3314, allocations: 143.3 kB / 1.311 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.3315, allocations: 32 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.157e-05/0.3315, allocations: 32 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.163e-05/0.3316, allocations: 87.75 kB / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3317, allocations: 155.1 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.3322, allocations: 458 kB / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3322, allocations: 0 / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.479e-06/0.3322, allocations: 3.984 kB / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3322, allocations: 0 / 1.312 GB, free: 13.46 MB / 1.014 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.0007557/0.333, allocations: 0.6077 MB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.333, allocations: 12.03 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.488e-05/0.3331, allocations: 40.66 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.3335, allocations: 320.4 kB / 1.313 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.369e-05/0.3336, allocations: 44.95 kB / 1.313 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.3336, allocations: 28.38 kB / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.3342, allocations: 408.2 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3342, allocations: 192 / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.3343, allocations: 15.94 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.3343, allocations: 8 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.3347, allocations: 307.4 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.3362, allocations: 1.061 MB / 1.314 GB, free: 10.47 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.3363, allocations: 89.2 kB / 1.315 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.3364, allocations: 49.73 kB / 1.315 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3364, allocations: 0 / 1.315 GB, free: 10.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3364, allocations: 34.5 kB / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.3364, allocations: 0 / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0003239/0.3368, allocations: 173.4 kB / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.3368, allocations: 81.05 kB / 1.315 GB, free: 9.992 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.3374, allocations: 0.5014 MB / 1.315 GB, free: 9.484 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.3374, allocations: 33.69 kB / 1.315 GB, free: 9.445 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.3376, allocations: 203.7 kB / 1.316 GB, free: 9.242 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3376, allocations: 19.89 kB / 1.316 GB, free: 9.223 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/0.3377, allocations: 49.7 kB / 1.316 GB, free: 9.168 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3378, allocations: 346.8 kB / 1.316 GB, free: 8.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.3379, allocations: 71.95 kB / 1.316 GB, free: 8.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.3381, allocations: 87.38 kB / 1.316 GB, free: 8.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.3382, allocations: 113.6 kB / 1.316 GB, free: 8.543 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3382, allocations: 0 / 1.316 GB, free: 8.543 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003029/0.3385, allocations: 213.3 kB / 1.316 GB, free: 8.328 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3385, allocations: 8 kB / 1.316 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3386, allocations: 3.938 kB / 1.316 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3386, allocations: 0 / 1.316 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.3387, allocations: 35.92 kB / 1.316 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3387, allocations: 0 / 1.316 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.3388, allocations: 35.67 kB / 1.317 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.3388, allocations: 8 kB / 1.317 GB, free: 8.238 MB / 1.014 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.0002075/0.339, allocations: 207.4 kB / 1.317 GB, free: 8.023 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.3391, allocations: 35.7 kB / 1.317 GB, free: 7.988 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.3393, allocations: 122 kB / 1.317 GB, free: 7.855 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3393, allocations: 3.938 kB / 1.317 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3393, allocations: 0 / 1.317 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3393, allocations: 0 / 1.317 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006109/0.3399, allocations: 0.6527 MB / 1.317 GB, free: 7.129 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3399, allocations: 3.984 kB / 1.318 GB, free: 7.125 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.3399, allocations: 7.938 kB / 1.318 GB, free: 7.117 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3399, allocations: 0 / 1.318 GB, free: 7.117 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.3399, allocations: 4 kB / 1.318 GB, free: 7.113 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3399, allocations: 4 kB / 1.318 GB, free: 7.109 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3399, allocations: 0 / 1.318 GB, free: 7.109 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.3401, allocations: 135.8 kB / 1.318 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3402, allocations: 120.9 kB / 1.318 GB, free: 6.812 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3403, allocations: 7.938 kB / 1.318 GB, free: 6.805 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.3403, allocations: 4 kB / 1.318 GB, free: 6.801 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.3403, allocations: 15.92 kB / 1.318 GB, free: 6.785 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.3403, allocations: 0 / 1.318 GB, free: 6.785 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004157/0.3407, allocations: 391 kB / 1.318 GB, free: 6.406 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3407, allocations: 4 kB / 1.318 GB, free: 6.402 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002299/0.341, allocations: 32 kB / 1.318 GB, free: 6.371 MB / 1.014 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.0001284/0.3411, allocations: 107.2 kB / 1.318 GB, free: 6.258 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.3413, allocations: 104.2 kB / 1.318 GB, free: 6.156 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3413, allocations: 192 / 1.318 GB, free: 6.156 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.3413, allocations: 15.94 kB / 1.318 GB, free: 6.141 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.3416, allocations: 39.23 kB / 1.318 GB, free: 6.102 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007389/0.3423, allocations: 0.5172 MB / 1.319 GB, free: 5.547 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3428, allocations: 0.787 MB / 1.32 GB, free: 4.734 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000104/0.3429, allocations: 54.94 kB / 1.32 GB, free: 4.684 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.3429, allocations: 27.42 kB / 1.32 GB, free: 4.656 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.3429, allocations: 0 / 1.32 GB, free: 4.656 MB / 1.014 GB Notification: Performance of Templates: time 0.005378/0.3483, allocations: 2.027 MB / 1.322 GB, free: 2.641 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.114199795294553]