Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.001885/0.001885, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001817/0.001817, allocations: 211.2 kB / 22.24 MB, free: 4.855 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.785 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.369/3.369, allocations: 0.4892 GB / 0.7943 GB, free: 35.73 MB / 0.6231 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.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [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.002175/0.002175, allocations: 76.45 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.406, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002799/0.4088, allocations: 0.7323 MB / 1.326 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003227/0.4091, allocations: 56.23 kB / 1.326 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.4092, allocations: 7.938 kB / 1.326 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.4093, allocations: 11.86 kB / 1.326 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.4094, allocations: 15.92 kB / 1.326 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.4096, allocations: 27.95 kB / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.4098, allocations: 123.7 kB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.4101, allocations: 80.84 kB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.4102, allocations: 75.72 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.4103, allocations: 79.7 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.4104, allocations: 8 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.251e-05/0.4104, allocations: 16 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-05/0.4105, allocations: 59.78 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.99e-05/0.4106, allocations: 63.61 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.4109, allocations: 235 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4109, allocations: 3.938 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of FrontEnd: time 3.236e-06/0.4109, allocations: 0 / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.4109, allocations: 4 kB / 1.327 GB, free: 260 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007889/0.4117, allocations: 433.7 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.4118, allocations: 12.03 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.4119, allocations: 28.75 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.4123, allocations: 198.2 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.4123, allocations: 16.69 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.4124, allocations: 20.36 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/0.4129, allocations: 329.2 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.413, allocations: 3.938 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.413, allocations: 12 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/0.413, allocations: 19.92 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.4134, allocations: 260.7 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.4148, allocations: 0.9059 MB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.4149, allocations: 169.1 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.415, allocations: 84.14 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.415, allocations: 79.28 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.305e-05/0.4151, allocations: 109.8 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.4151, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001112/0.4152, allocations: 45.77 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.4153, allocations: 126.7 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.4156, allocations: 275 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.4156, allocations: 25.7 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.4158, allocations: 183.8 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.4158, allocations: 4 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.4159, allocations: 29.7 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.4161, allocations: 326.8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.4162, allocations: 51.95 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4163, allocations: 93.91 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.4164, allocations: 105.9 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4164, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003198/0.4168, allocations: 173.4 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4168, allocations: 11.98 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4168, allocations: 3.938 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.4168, allocations: 7.938 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.4169, allocations: 19.98 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.4169, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.481e-05/0.417, allocations: 12 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.417, allocations: 8.219 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (7): * Single equations (assignments): 7 * 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.000216/0.4172, allocations: 260.2 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/0.4173, allocations: 116.9 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.733e-05/0.4174, allocations: 117.5 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001026/0.4175, allocations: 188.1 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.977e-05/0.4176, allocations: 176.3 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001013/0.4177, allocations: 184.2 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.418, allocations: 428.7 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.781e-05/0.4181, allocations: 109 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.4182, allocations: 108.9 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.507e-05/0.4183, allocations: 180.3 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.15e-05/0.4184, allocations: 184.2 kB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-05/0.4184, allocations: 176.3 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-05/0.4185, allocations: 184.2 kB / 1.333 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.4187, allocations: 319.7 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.4188, allocations: 112.9 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.4189, allocations: 176.5 kB / 1.334 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.419, allocations: 113 kB / 1.334 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4191, allocations: 192.2 kB / 1.334 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.4192, allocations: 101 kB / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001866/0.4194, allocations: 192.5 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4194, allocations: 0 / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003287/0.4197, allocations: 43.78 kB / 1.335 GB, free: 8.125 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.0001662/0.4199, allocations: 174.5 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.42, allocations: 67.83 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.42, allocations: 3.938 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.42, allocations: 0 / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.4207, allocations: 483.4 kB / 1.335 GB, free: 7.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.4213, allocations: 431.4 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.4215, allocations: 171.5 kB / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.293e-05/0.4216, allocations: 28.41 kB / 1.336 GB, free: 6.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.4216, allocations: 11.44 kB / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4216, allocations: 0 / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of Templates: time 0.004291/0.4259, allocations: 1.118 MB / 1.337 GB, free: 5.629 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.634519018232822]