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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=5000,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 101.7 kB / 15.98 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 199.1 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.701/2.701, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.001911, allocations: 66.44 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.337, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002399/0.3395, allocations: 0.9219 MB / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002691/0.3398, allocations: 79.7 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.364e-05/0.3399, allocations: 4 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.34, allocations: 15.86 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.3402, allocations: 15.92 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.343e-05/0.3403, allocations: 35.97 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000309/0.3406, allocations: 255.4 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.341, allocations: 290.3 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3411, allocations: 127.6 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.3413, allocations: 147.3 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.3414, allocations: 32 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.3414, allocations: 36 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.4e-05/0.3415, allocations: 83.72 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.3417, allocations: 155.1 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.3421, allocations: 359.2 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3421, allocations: 0 / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3421, allocations: 4 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.3421, allocations: 0 / 1.067 GB, free: 12.58 MB / 0.8419 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.0008184/0.3429, allocations: 0.585 MB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.343, allocations: 8.625 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.724e-05/0.3431, allocations: 44.47 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.3435, allocations: 332 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.3436, allocations: 41.02 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.3436, allocations: 28.38 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.3443, allocations: 400.2 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3443, allocations: 4.172 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.3443, allocations: 19.94 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.3444, allocations: 8 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000477/0.3448, allocations: 299.6 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.3464, allocations: 1.057 MB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.3466, allocations: 85.31 kB / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.006e-05/0.3467, allocations: 45.69 kB / 1.069 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3467, allocations: 4 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3467, allocations: 38.5 kB / 1.07 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.3467, allocations: 0 / 1.07 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0003509/0.3471, allocations: 169.2 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.3472, allocations: 92.97 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/0.3478, allocations: 0.5052 MB / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3478, allocations: 25.7 kB / 1.07 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.348, allocations: 203.5 kB / 1.07 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.348, allocations: 23.72 kB / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-05/0.3481, allocations: 57.7 kB / 1.071 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3483, allocations: 346.8 kB / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3484, allocations: 63.95 kB / 1.071 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3485, allocations: 93.66 kB / 1.071 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.3487, allocations: 109.6 kB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.3487, allocations: 3.984 kB / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003171/0.3491, allocations: 213.1 kB / 1.071 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3491, allocations: 8 kB / 1.071 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3491, allocations: 0 / 1.071 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3491, allocations: 4 kB / 1.071 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3493, allocations: 31.86 kB / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3493, allocations: 4 kB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.913e-05/0.3494, allocations: 35.53 kB / 1.071 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.3494, allocations: 8 kB / 1.071 GB, free: 7.371 MB / 0.8419 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.0002301/0.3496, allocations: 205.6 kB / 1.072 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.3497, allocations: 31.62 kB / 1.072 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.3499, allocations: 114 kB / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.35, allocations: 3.938 kB / 1.072 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.35, allocations: 4 kB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.35, allocations: 0 / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.3506, allocations: 0.6487 MB / 1.072 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3506, allocations: 3.984 kB / 1.072 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.3507, allocations: 7.938 kB / 1.072 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3507, allocations: 4 kB / 1.072 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3507, allocations: 0 / 1.072 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3507, allocations: 0 / 1.072 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3507, allocations: 4 kB / 1.072 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.3509, allocations: 131.4 kB / 1.073 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.351, allocations: 124.6 kB / 1.073 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.351, allocations: 7.938 kB / 1.073 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.87e-05/0.3511, allocations: 0 / 1.073 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.3511, allocations: 11.94 kB / 1.073 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.3511, allocations: 7.984 kB / 1.073 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000448/0.3516, allocations: 387 kB / 1.073 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.854e-06/0.3516, allocations: 4 kB / 1.073 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002392/0.3518, allocations: 43.84 kB / 1.073 GB, free: 5.516 MB / 0.8419 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.0001251/0.352, allocations: 95.25 kB / 1.073 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3522, allocations: 115.9 kB / 1.073 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3522, allocations: 4 kB / 1.073 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.3523, allocations: 15.94 kB / 1.073 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.3525, allocations: 33.97 kB / 1.073 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008669/0.3534, allocations: 0.614 MB / 1.074 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.3539, allocations: 0.787 MB / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.3539, allocations: 23.44 kB / 1.075 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3539, allocations: 0 / 1.075 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of Templates: time 0.426/0.7799, allocations: 3.764 MB / 1.078 GB, free: 22.12 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile (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 & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) 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) Reference file matches