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.001876/0.001876, allocations: 104 kB / 16.45 MB, free: 6.449 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.002446/0.002446, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.568/1.568, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.276/3.276, allocations: 0.49 GB / 0.7915 GB, free: 33.45 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.002155/0.002155, allocations: 72.27 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4087, allocations: 176.1 MB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001955/0.4106, allocations: 0.7479 MB / 1.322 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002426/0.4109, allocations: 51.83 kB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.4109, allocations: 7.938 kB / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.4111, allocations: 23.8 kB / 1.322 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.4111, allocations: 11.91 kB / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.4113, allocations: 27.97 kB / 1.322 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.4115, allocations: 127.6 kB / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.4117, allocations: 132.5 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.4118, allocations: 63.8 kB / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.74e-05/0.4119, allocations: 79.64 kB / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.4119, allocations: 12 kB / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.75e-05/0.412, allocations: 8 kB / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.4121, allocations: 55.84 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.88e-05/0.4122, allocations: 83.42 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.4124, allocations: 239 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4124, allocations: 3.984 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4124, allocations: 4 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.4124, allocations: 0 / 1.323 GB, free: 1.102 MB / 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.0006098/0.413, allocations: 0.4952 MB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.4131, allocations: 11.98 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.4131, allocations: 28.75 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.4134, allocations: 248 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.4134, allocations: 12.75 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.4135, allocations: 24.36 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/0.414, allocations: 341.1 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.414, allocations: 3.938 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.4141, allocations: 8 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.4141, allocations: 15.94 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.4144, allocations: 260.6 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.4157, allocations: 1.084 MB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.4158, allocations: 173.1 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.4159, allocations: 84.08 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.4159, allocations: 79.22 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/0.416, allocations: 117.8 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.416, allocations: 0 / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.729e-05/0.4161, allocations: 49.69 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.4161, allocations: 130.7 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.4167, allocations: 0.4887 MB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.4167, allocations: 25.7 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.4169, allocations: 175.8 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.4169, allocations: 0 / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.4169, allocations: 37.69 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4171, allocations: 342.8 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.4172, allocations: 47.91 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.824e-05/0.4173, allocations: 85.97 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.4174, allocations: 109.8 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4174, allocations: 4 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003127/0.4177, allocations: 185.3 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4177, allocations: 8 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4177, allocations: 3.938 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4178, allocations: 7.984 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.4179, allocations: 12 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4179, allocations: 7.984 kB / 1.327 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.418, allocations: 39.73 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.418, allocations: 8 kB / 1.328 GB, free: 12.11 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.0001839/0.4182, allocations: 253.2 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.4183, allocations: 128.8 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.57e-05/0.4184, allocations: 138.7 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.027e-05/0.4184, allocations: 180.2 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.333e-05/0.4185, allocations: 180.3 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.233e-05/0.4186, allocations: 188.2 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.419, allocations: 493.1 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.496e-05/0.419, allocations: 104.9 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.4191, allocations: 105 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.541e-05/0.4192, allocations: 176.3 kB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.4192, allocations: 192.2 kB / 1.33 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.465e-05/0.4193, allocations: 184.3 kB / 1.33 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.738e-05/0.4194, allocations: 180.2 kB / 1.33 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.4196, allocations: 331.6 kB / 1.33 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.4197, allocations: 217.9 kB / 1.33 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.4198, allocations: 184.5 kB / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.42, allocations: 116.9 kB / 1.331 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.42, allocations: 180.3 kB / 1.331 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.4201, allocations: 105 kB / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000397/0.4205, allocations: 363 kB / 1.331 GB, free: 7.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4205, allocations: 0 / 1.331 GB, free: 7.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002758/0.4208, allocations: 27.94 kB / 1.331 GB, free: 7.938 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.000182/0.421, allocations: 178.5 kB / 1.332 GB, free: 7.754 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.4211, allocations: 67.89 kB / 1.332 GB, free: 7.688 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4211, allocations: 0 / 1.332 GB, free: 7.688 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.4211, allocations: 0 / 1.332 GB, free: 7.688 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.4218, allocations: 485.1 kB / 1.332 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007009/0.4225, allocations: 478.9 kB / 1.333 GB, free: 6.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.4229, allocations: 0.7788 MB / 1.333 GB, free: 5.906 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.837e-05/0.423, allocations: 45.53 kB / 1.333 GB, free: 5.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.4231, allocations: 15.44 kB / 1.333 GB, free: 5.848 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4231, allocations: 4 kB / 1.333 GB, free: 5.844 MB / 1.029 GB Notification: Performance of Templates: time 0.005232/0.4283, allocations: 1.765 MB / 1.335 GB, free: 4.09 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.463180935010314]