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.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.0008758/0.0008758, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.00082/0.00082, allocations: 177.9 kB / 23.22 MB, free: 1.344 MB / 18.57 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 0.859/0.859, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.731/1.731, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: 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 2.104e-06/2.104e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.394e-05, allocations: 6.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001291/0.001315, allocations: 0.8404 MB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002295/0.001545, allocations: 99.56 kB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.001622, allocations: 7.938 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.001726, allocations: 15.8 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.001851, allocations: 19.86 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.743e-05/0.001908, allocations: 31.97 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.002115, allocations: 263.4 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.002332, allocations: 162.9 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.002455, allocations: 191.6 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.002571, allocations: 131.6 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.002612, allocations: 32 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.441e-05/0.002636, allocations: 36 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.002692, allocations: 83.69 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.00283, allocations: 99.73 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.003122, allocations: 470.4 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003124, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003125, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.003129, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 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.0004456/0.003575, allocations: 0.5169 MB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.003609, allocations: 8.75 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.003656, allocations: 40.7 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.003939, allocations: 285.6 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.00398, allocations: 33.03 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.004006, allocations: 28.38 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.004381, allocations: 404 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.004392, allocations: 4.125 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.004412, allocations: 16.38 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.004421, allocations: 12.38 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.004703, allocations: 303.7 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/0.005486, allocations: 0.8451 MB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.005589, allocations: 89.16 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.005632, allocations: 49.78 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.005649, allocations: 4 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.005669, allocations: 34.56 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.00567, allocations: 0 / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002252/0.005895, allocations: 149.5 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.005933, allocations: 85.09 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.006151, allocations: 341.5 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.006161, allocations: 29.7 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.84e-05/0.006249, allocations: 208.4 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.00626, allocations: 15.89 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.006323, allocations: 77.64 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.0064, allocations: 342.7 kB / 1.007 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.651e-05/0.006467, allocations: 67.89 kB / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.611e-05/0.006543, allocations: 85.58 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.006648, allocations: 109.7 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.006651, allocations: 7.938 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001713/0.006822, allocations: 193.5 kB / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.006836, allocations: 4 kB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006841, allocations: 7.938 kB / 1.007 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.006852, allocations: 4 kB / 1.008 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.424e-05/0.006947, allocations: 35.92 kB / 1.008 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006951, allocations: 192 / 1.008 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.006985, allocations: 19.84 kB / 1.008 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.006997, allocations: 7.938 kB / 1.008 GB, free: 5.926 MB / 0.9636 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.000125/0.007122, allocations: 199.7 kB / 1.008 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.00715, allocations: 23.89 kB / 1.008 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.007282, allocations: 108.6 kB / 1.008 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007284, allocations: 0 / 1.008 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.007287, allocations: 0 / 1.008 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.007289, allocations: 384 / 1.008 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.007582, allocations: 0.5663 MB / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007583, allocations: 0 / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.007596, allocations: 4 kB / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007598, allocations: 0 / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.007604, allocations: 4.188 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.007606, allocations: 7.938 kB / 1.008 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007607, allocations: 0 / 1.008 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.859e-05/0.007686, allocations: 123.5 kB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.007706, allocations: 23.84 kB / 1.009 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.007719, allocations: 0 / 1.009 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.348e-05/0.007742, allocations: 7.938 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.007762, allocations: 12 kB / 1.009 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.007764, allocations: 0 / 1.009 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001492/0.007913, allocations: 237.2 kB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007913, allocations: 0 / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001511/0.008064, allocations: 63.73 kB / 1.009 GB, free: 4.461 MB / 0.9636 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 7.106e-05/0.008135, allocations: 95.25 kB / 1.009 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.008271, allocations: 103.8 kB / 1.009 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.008273, allocations: 0 / 1.009 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.01e-05/0.008294, allocations: 12 kB / 1.009 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.008447, allocations: 25.98 kB / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.008987, allocations: 0.5191 MB / 1.01 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.009088, allocations: 175.2 kB / 1.01 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.009127, allocations: 28.81 kB / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.009127, allocations: 0 / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of Templates: time 0.003003/0.01213, allocations: 3.176 MB / 1.013 GB, free: 268 kB / 0.9636 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.519883221946657]