Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001338/0.001338, allocations: 79.11 kB / 19.76 MB, free: 2.035 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.001575/0.001575, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.491/1.491, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.928/2.928, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] 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.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_12_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_12_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.002135/0.002135, allocations: 63.89 kB / 0.9819 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.086, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001845/1.088, allocations: 0.605 MB / 1.154 GB, free: 32.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001774/1.088, allocations: 22.25 kB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/1.088, allocations: 0 / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/1.088, allocations: 2.938 kB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/1.088, allocations: 3.938 kB / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 8.371e-05/1.088, allocations: 0 / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/1.088, allocations: 27.03 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/1.089, allocations: 18.73 kB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.745e-05/1.089, allocations: 13.19 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.139e-05/1.089, allocations: 20.5 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/1.089, allocations: 2.531 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/1.089, allocations: 6.469 kB / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/1.089, allocations: 13.67 kB / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/1.089, allocations: 14.94 kB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/1.089, allocations: 50.78 kB / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.089, allocations: 0 / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/1.089, allocations: 0 / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.161e-05/1.089, allocations: 0 / 1.155 GB, free: 32.86 MB / 1.076 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.0003162/1.089, allocations: 277.7 kB / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.089, allocations: 8.531 kB / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/1.089, allocations: 7.656 kB / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/1.09, allocations: 126.2 kB / 1.155 GB, free: 32.45 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/1.09, allocations: 7.062 kB / 1.155 GB, free: 32.45 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/1.09, allocations: 3.156 kB / 1.155 GB, free: 32.45 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/1.09, allocations: 87.88 kB / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.09, allocations: 192 / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1.09, allocations: 3.938 kB / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.09, allocations: 0 / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/1.09, allocations: 52.72 kB / 1.155 GB, free: 32.38 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/1.09, allocations: 409.7 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.135e-05/1.09, allocations: 171.2 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/1.09, allocations: 80.14 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/1.09, allocations: 81.78 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/1.09, allocations: 105.9 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/1.09, allocations: 0 / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.492e-05/1.091, allocations: 44.19 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/1.091, allocations: 126.7 kB / 1.156 GB, free: 31.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.091, allocations: 123.5 kB / 1.156 GB, free: 31.26 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/1.091, allocations: 25.7 kB / 1.156 GB, free: 31.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/1.091, allocations: 98.05 kB / 1.156 GB, free: 31.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-06/1.091, allocations: 3.938 kB / 1.156 GB, free: 31.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/1.091, allocations: 19.16 kB / 1.156 GB, free: 31.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.41e-05/1.091, allocations: 320.9 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/1.091, allocations: 9.188 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/1.091, allocations: 10.61 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/1.091, allocations: 18.5 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/1.091, allocations: 0 / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000108/1.091, allocations: 46.86 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.091, allocations: 2.938 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/1.091, allocations: 2.625 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.079e-05/1.091, allocations: 7.922 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/1.091, allocations: 5.828 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.091, allocations: 4.094 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/1.091, allocations: 6.625 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/1.091, allocations: 2.562 kB / 1.157 GB, free: 30.73 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 8.136e-05/1.091, allocations: 194.4 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/1.091, allocations: 107.7 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/1.091, allocations: 111.4 kB / 1.157 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.873e-05/1.091, allocations: 179.5 kB / 1.157 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.043e-05/1.091, allocations: 183 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.365e-05/1.091, allocations: 180.2 kB / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/1.092, allocations: 367.7 kB / 1.158 GB, free: 29.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/1.092, allocations: 107.5 kB / 1.158 GB, free: 29.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/1.092, allocations: 105 kB / 1.158 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.204e-05/1.092, allocations: 182.7 kB / 1.159 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/1.092, allocations: 176.3 kB / 1.159 GB, free: 28.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.072e-05/1.092, allocations: 190.5 kB / 1.159 GB, free: 28.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.812e-05/1.092, allocations: 177.2 kB / 1.159 GB, free: 28.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.429e-05/1.092, allocations: 317.2 kB / 1.159 GB, free: 28.1 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/1.092, allocations: 107.4 kB / 1.159 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/1.092, allocations: 183.1 kB / 1.16 GB, free: 27.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/1.092, allocations: 101 kB / 1.16 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/1.092, allocations: 187 kB / 1.16 GB, free: 27.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/1.092, allocations: 108.6 kB / 1.16 GB, free: 27.41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.418e-05/1.092, allocations: 94.25 kB / 1.16 GB, free: 27.33 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.092, allocations: 0 / 1.16 GB, free: 27.33 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002215/1.092, allocations: 17.66 kB / 1.16 GB, free: 27.32 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.0001073/1.092, allocations: 170.7 kB / 1.16 GB, free: 27.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.118e-05/1.093, allocations: 12.33 kB / 1.16 GB, free: 27.15 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.093, allocations: 0 / 1.16 GB, free: 27.15 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/1.093, allocations: 6.594 kB / 1.16 GB, free: 27.15 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/1.093, allocations: 458.6 kB / 1.161 GB, free: 26.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/1.093, allocations: 196.1 kB / 1.161 GB, free: 26.51 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.274e-05/1.093, allocations: 76.52 kB / 1.161 GB, free: 26.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.115e-05/1.093, allocations: 2.844 kB / 1.161 GB, free: 26.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/1.093, allocations: 8.5 kB / 1.161 GB, free: 26.43 MB / 1.076 GB Notification: Performance of SimCode: time 2.8e-07/1.093, allocations: 0 / 1.161 GB, free: 26.43 MB / 1.076 GB Notification: Performance of Templates: time 0.00288/1.096, allocations: 310.2 kB / 1.161 GB, free: 26.35 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.200280547025613]