Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.001598/0.001598, allocations: 79.19 kB / 19.76 MB, free: 2.031 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.001727/0.001727, allocations: 156.3 kB / 23.01 MB, free: 4.941 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.75/2.75, allocations: 359.1 MB / 0.6044 GB, free: 14.84 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.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [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.002419/0.002419, allocations: 71.83 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3415, allocations: 169.9 MB / 1.117 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001855/0.3434, allocations: 0.6142 MB / 1.118 GB, free: 1.902 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.3435, allocations: 11.94 kB / 1.118 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.3436, allocations: 0 / 1.118 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.3437, allocations: 0 / 1.118 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.77e-05/0.3437, allocations: 0 / 1.118 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.458e-05/0.3438, allocations: 4 kB / 1.118 GB, free: 1.887 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.072e-05/0.3439, allocations: 35.84 kB / 1.118 GB, free: 1.852 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.344, allocations: 23.97 kB / 1.118 GB, free: 1.828 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.41e-05/0.344, allocations: 8 kB / 1.118 GB, free: 1.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.3441, allocations: 23.86 kB / 1.118 GB, free: 1.797 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3441, allocations: 4 kB / 1.118 GB, free: 1.793 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.3441, allocations: 4 kB / 1.118 GB, free: 1.789 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.3441, allocations: 0 / 1.118 GB, free: 1.789 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.3442, allocations: 19.88 kB / 1.118 GB, free: 1.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3443, allocations: 43.86 kB / 1.118 GB, free: 1.727 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3443, allocations: 3.938 kB / 1.118 GB, free: 1.723 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3443, allocations: 4 kB / 1.118 GB, free: 1.719 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3443, allocations: 3.938 kB / 1.118 GB, free: 1.715 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.0003611/0.3447, allocations: 278.2 kB / 1.119 GB, free: 1.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3447, allocations: 8.031 kB / 1.119 GB, free: 1.402 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.3447, allocations: 4.938 kB / 1.119 GB, free: 1.398 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.3449, allocations: 122.4 kB / 1.119 GB, free: 1.254 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.3449, allocations: 4.375 kB / 1.119 GB, free: 1.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.345, allocations: 4.375 kB / 1.119 GB, free: 1.246 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3451, allocations: 78.22 kB / 1.119 GB, free: 1.164 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3451, allocations: 192 / 1.119 GB, free: 1.164 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3451, allocations: 3.938 kB / 1.119 GB, free: 1.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3451, allocations: 8 kB / 1.119 GB, free: 1.152 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.076e-05/0.3452, allocations: 51.91 kB / 1.119 GB, free: 1.102 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.3457, allocations: 402.9 kB / 1.119 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.813e-05/0.3458, allocations: 177.2 kB / 1.119 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.3458, allocations: 84.08 kB / 1.119 GB, free: 416 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.3459, allocations: 79.28 kB / 1.119 GB, free: 336 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.3459, allocations: 109.8 kB / 1.12 GB, free: 216 kB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3459, allocations: 0 / 1.12 GB, free: 216 kB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.522e-05/0.346, allocations: 33.59 kB / 1.12 GB, free: 176 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.3461, allocations: 126.7 kB / 1.12 GB, free: 36 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3462, allocations: 129.8 kB / 1.12 GB, free: 15.9 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3462, allocations: 25.7 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.3463, allocations: 96.05 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.3463, allocations: 0 / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.3463, allocations: 21.7 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3465, allocations: 314.8 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.3465, allocations: 15.98 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.3465, allocations: 4 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.3465, allocations: 16.84 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3465, allocations: 4 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001114/0.3467, allocations: 49.62 kB / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3467, allocations: 8 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3467, allocations: 0 / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3467, allocations: 0 / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.3467, allocations: 7.984 kB / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3468, allocations: 0 / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.3468, allocations: 7.938 kB / 1.12 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3468, allocations: 4 kB / 1.12 GB, free: 15.3 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 (mulMax.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.0001191/0.3469, allocations: 189.1 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.347, allocations: 113 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.347, allocations: 112.4 kB / 1.121 GB, free: 14.87 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.489e-05/0.3471, allocations: 180.3 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.849e-05/0.3472, allocations: 180.2 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.602e-05/0.3473, allocations: 184.2 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.3475, allocations: 372.9 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.056e-05/0.3476, allocations: 108.9 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.3476, allocations: 104.9 kB / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.998e-05/0.3477, allocations: 184.2 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.3478, allocations: 180.4 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.753e-05/0.3479, allocations: 176.3 kB / 1.122 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.608e-05/0.3479, allocations: 192.2 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.3481, allocations: 311.7 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.3482, allocations: 109 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.58e-05/0.3482, allocations: 180.3 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.3483, allocations: 108.9 kB / 1.123 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.3484, allocations: 176.3 kB / 1.123 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.3485, allocations: 104.9 kB / 1.124 GB, free: 11.92 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.406e-05/0.3486, allocations: 103.5 kB / 1.124 GB, free: 11.82 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3486, allocations: 0 / 1.124 GB, free: 11.82 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002305/0.3488, allocations: 15.88 kB / 1.124 GB, free: 11.8 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.0001396/0.3489, allocations: 174.5 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.459e-05/0.349, allocations: 11.98 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.349, allocations: 0 / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.349, allocations: 0 / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.3494, allocations: 465.9 kB / 1.124 GB, free: 11.15 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.3497, allocations: 207.2 kB / 1.124 GB, free: 10.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.118e-05/0.3498, allocations: 71.33 kB / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.754e-05/0.3498, allocations: 0 / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.3499, allocations: 16.56 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.3499, allocations: 0 / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of Templates: time 0.002586/0.3524, allocations: 296.9 kB / 1.125 GB, free: 10.54 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.595682865008712]