Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.001729/0.001729, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.002077/0.002077, allocations: 160.3 kB / 23.01 MB, free: 4.605 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.527/1.527, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.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.692/2.692, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") [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.002343/0.002343, allocations: 71.88 kB / 0.9515 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3366, allocations: 169.9 MB / 1.117 GB, free: 2.641 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.00196/0.3385, allocations: 0.6204 MB / 1.118 GB, free: 2.023 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001324/0.3386, allocations: 7.922 kB / 1.118 GB, free: 2.016 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.3387, allocations: 4 kB / 1.118 GB, free: 2.012 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.023e-05/0.3388, allocations: 7.938 kB / 1.118 GB, free: 2.004 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.471e-05/0.3388, allocations: 0 / 1.118 GB, free: 2.004 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.033e-05/0.3389, allocations: 0 / 1.118 GB, free: 2.004 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.524e-05/0.339, allocations: 23.98 kB / 1.118 GB, free: 1.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3391, allocations: 15.98 kB / 1.118 GB, free: 1.965 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.3391, allocations: 15.92 kB / 1.118 GB, free: 1.949 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.918e-05/0.3391, allocations: 23.92 kB / 1.118 GB, free: 1.926 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.3392, allocations: 0 / 1.118 GB, free: 1.926 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.3392, allocations: 7.938 kB / 1.118 GB, free: 1.918 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.3392, allocations: 15.92 kB / 1.118 GB, free: 1.902 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.3392, allocations: 11.94 kB / 1.118 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3394, allocations: 47.81 kB / 1.118 GB, free: 1.844 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3394, allocations: 0 / 1.118 GB, free: 1.844 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3394, allocations: 0 / 1.118 GB, free: 1.844 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3394, allocations: 0 / 1.118 GB, free: 1.844 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003624/0.3397, allocations: 274.2 kB / 1.118 GB, free: 1.543 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3398, allocations: 8.031 kB / 1.118 GB, free: 1.535 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.3398, allocations: 8.938 kB / 1.118 GB, free: 1.527 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.34, allocations: 122.5 kB / 1.119 GB, free: 1.383 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.34, allocations: 4.375 kB / 1.119 GB, free: 1.379 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.34, allocations: 4.375 kB / 1.119 GB, free: 1.375 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3402, allocations: 90.03 kB / 1.119 GB, free: 1.281 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3402, allocations: 4.172 kB / 1.119 GB, free: 1.277 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3402, allocations: 7.938 kB / 1.119 GB, free: 1.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3402, allocations: 0 / 1.119 GB, free: 1.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.3403, allocations: 47.97 kB / 1.119 GB, free: 1.223 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.3408, allocations: 410.9 kB / 1.119 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.3409, allocations: 169.1 kB / 1.119 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.3409, allocations: 84.14 kB / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.341, allocations: 75.28 kB / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.367e-05/0.341, allocations: 109.8 kB / 1.12 GB, free: 344 kB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.341, allocations: 0 / 1.12 GB, free: 344 kB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.267e-05/0.3411, allocations: 37.64 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.3412, allocations: 130.7 kB / 1.12 GB, free: 156 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3413, allocations: 121.8 kB / 1.12 GB, free: 24 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.3413, allocations: 25.7 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.3414, allocations: 100.1 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.3414, allocations: 0 / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.3414, allocations: 29.7 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3416, allocations: 314.8 kB / 1.12 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.3416, allocations: 4 kB / 1.12 GB, free: 15.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.3416, allocations: 11.98 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.3417, allocations: 20.78 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3417, allocations: 0 / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001111/0.3418, allocations: 45.69 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.3418, allocations: 4 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3418, allocations: 0 / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3418, allocations: 4.094 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.3419, allocations: 4 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.3419, allocations: 0 / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.3419, allocations: 7.938 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3419, allocations: 0 / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001377/0.3421, allocations: 197.1 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.3421, allocations: 104.9 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/0.3422, allocations: 112.4 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.325e-05/0.3423, allocations: 184.2 kB / 1.121 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-05/0.3424, allocations: 184.3 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.357e-05/0.3425, allocations: 184.2 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.3427, allocations: 372.8 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.213e-05/0.3428, allocations: 105.6 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.3428, allocations: 112.9 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.019e-05/0.3429, allocations: 176.3 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.033e-05/0.343, allocations: 180.3 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.829e-05/0.343, allocations: 184.1 kB / 1.122 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.06e-05/0.3431, allocations: 180.5 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.3433, allocations: 319.7 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.3433, allocations: 101 kB / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.3434, allocations: 192.2 kB / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.3435, allocations: 101 kB / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.085e-05/0.3436, allocations: 188.2 kB / 1.123 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.3437, allocations: 101 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.031e-05/0.3437, allocations: 99.56 kB / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3437, allocations: 0 / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002275/0.344, allocations: 11.88 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001367/0.3441, allocations: 174.5 kB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.041e-05/0.3442, allocations: 11.94 kB / 1.124 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3442, allocations: 8.062 kB / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.3442, allocations: 0 / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.3446, allocations: 455.7 kB / 1.124 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.3449, allocations: 204.1 kB / 1.124 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.345, allocations: 67.34 kB / 1.125 GB, free: 10.96 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.345, allocations: 4 kB / 1.125 GB, free: 10.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.345, allocations: 8.5 kB / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.345, allocations: 0 / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of Templates: time 0.002536/0.3476, allocations: 305.6 kB / 1.125 GB, free: 10.66 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.7263589350041]