Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001584/0.001584, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001748/0.001748, allocations: 220.3 kB / 23.05 MB, free: 4.844 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.163/3.163, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002903/0.002903, allocations: 75.06 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3261, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001817/0.3279, allocations: 0.6171 MB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000134/0.328, allocations: 4 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.3281, allocations: 4 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.992e-05/0.3282, allocations: 3.938 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.634e-05/0.3282, allocations: 0 / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.528e-05/0.3282, allocations: 3.984 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.062e-05/0.3283, allocations: 27.97 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3285, allocations: 23.92 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.385e-05/0.3285, allocations: 19.88 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.275e-05/0.3285, allocations: 19.92 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3285, allocations: 0 / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.3285, allocations: 4 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.3286, allocations: 11.94 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.3286, allocations: 7.938 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.3287, allocations: 51.8 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3287, allocations: 3.938 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3287, allocations: 0 / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.3287, allocations: 0 / 1.328 GB, free: 120 kB / 1.014 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.0003814/0.3291, allocations: 278.6 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3291, allocations: 12.03 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.3292, allocations: 4.938 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.3294, allocations: 122.5 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-06/0.3294, allocations: 384 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.3294, allocations: 12.31 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3296, allocations: 82.11 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3296, allocations: 192 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3296, allocations: 3.938 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3296, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.202e-05/0.3297, allocations: 51.97 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.3301, allocations: 418.9 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.3303, allocations: 169.1 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.52e-05/0.3303, allocations: 88.14 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.3303, allocations: 75.28 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.05e-05/0.3304, allocations: 109.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3304, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.027e-05/0.3305, allocations: 33.66 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.3305, allocations: 126.7 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3307, allocations: 125.8 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3307, allocations: 25.7 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.3308, allocations: 104.1 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.3308, allocations: 4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.3308, allocations: 21.72 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.331, allocations: 314.8 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.331, allocations: 11.98 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.11e-05/0.331, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.331, allocations: 24.78 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.331, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001133/0.3311, allocations: 45.69 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3312, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3312, allocations: 4.094 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3312, allocations: 3.984 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.3312, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3312, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.3313, allocations: 7.938 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.3313, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 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.000116/0.3314, allocations: 193.6 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/0.3315, allocations: 108.9 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.17e-05/0.3315, allocations: 112.4 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.354e-05/0.3316, allocations: 180.2 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.611e-05/0.3317, allocations: 188.2 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.233e-05/0.3318, allocations: 180.2 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.332, allocations: 368.8 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-05/0.3321, allocations: 105 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.3321, allocations: 104.9 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.54e-05/0.3322, allocations: 180.2 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.315e-05/0.3323, allocations: 180.3 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.483e-05/0.3324, allocations: 180.2 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.579e-05/0.3325, allocations: 184.3 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.3326, allocations: 319.6 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.3327, allocations: 101 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.241e-05/0.3328, allocations: 192.5 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.3329, allocations: 101 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.333, allocations: 188.2 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/0.333, allocations: 109 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.877e-05/0.3331, allocations: 99.27 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3331, allocations: 0 / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002357/0.3333, allocations: 7.938 kB / 1.333 GB, free: 10.18 MB / 1.029 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.0001537/0.3335, allocations: 176.1 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.157e-05/0.3336, allocations: 15.92 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3336, allocations: 4 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.3336, allocations: 0 / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.334, allocations: 460.6 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.3343, allocations: 222 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.84e-05/0.3344, allocations: 67.33 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.3344, allocations: 11.44 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3344, allocations: 0 / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of Templates: time 0.002029/0.3364, allocations: 0.6051 MB / 1.335 GB, free: 8.582 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.073212682036683]