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.001551/0.001551, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001815/0.001815, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.957/2.957, allocations: 0.49 GB / 0.7923 GB, free: 1.285 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.002045/0.002045, allocations: 75.89 kB / 1.15 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9649/0.9669, allocations: 176.1 MB / 1.322 GB, free: 7.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001914/0.9689, allocations: 0.7463 MB / 1.323 GB, free: 7.344 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.9691, allocations: 52.48 kB / 1.323 GB, free: 7.305 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.9691, allocations: 9.094 kB / 1.323 GB, free: 7.297 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.9693, allocations: 15.17 kB / 1.323 GB, free: 7.285 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.691e-05/0.9693, allocations: 15.36 kB / 1.323 GB, free: 7.273 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.9695, allocations: 26.66 kB / 1.323 GB, free: 7.258 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.9696, allocations: 126.7 kB / 1.323 GB, free: 7.188 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.9699, allocations: 128.9 kB / 1.323 GB, free: 7.129 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.969e-05/0.9699, allocations: 67.23 kB / 1.323 GB, free: 7.098 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.97, allocations: 77.47 kB / 1.323 GB, free: 7.047 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.9701, allocations: 11.47 kB / 1.323 GB, free: 7.047 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.63e-05/0.9701, allocations: 15.47 kB / 1.323 GB, free: 7.043 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.9702, allocations: 53.97 kB / 1.323 GB, free: 7.012 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.207e-05/0.9703, allocations: 83.73 kB / 1.323 GB, free: 6.949 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.9705, allocations: 236.1 kB / 1.324 GB, free: 6.805 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.9705, allocations: 1.125 kB / 1.324 GB, free: 6.805 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9705, allocations: 0 / 1.324 GB, free: 6.805 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.9705, allocations: 0 / 1.324 GB, free: 6.805 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.0005895/0.9711, allocations: 0.4938 MB / 1.324 GB, free: 6.324 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.9712, allocations: 13.67 kB / 1.324 GB, free: 6.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.9712, allocations: 32.12 kB / 1.324 GB, free: 6.301 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.9715, allocations: 253.4 kB / 1.324 GB, free: 6.059 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.9715, allocations: 16.31 kB / 1.324 GB, free: 6.051 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.9716, allocations: 16.69 kB / 1.324 GB, free: 6.047 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.972, allocations: 341.3 kB / 1.325 GB, free: 5.863 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.9721, allocations: 9.062 kB / 1.325 GB, free: 5.855 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.9721, allocations: 9.109 kB / 1.325 GB, free: 5.848 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.9721, allocations: 23.62 kB / 1.325 GB, free: 5.836 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.9725, allocations: 269.3 kB / 1.325 GB, free: 5.746 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.9737, allocations: 1.084 MB / 1.326 GB, free: 4.883 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.9738, allocations: 170.3 kB / 1.326 GB, free: 4.707 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.9738, allocations: 81.45 kB / 1.326 GB, free: 4.625 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.9738, allocations: 79.28 kB / 1.326 GB, free: 4.547 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.21e-05/0.9739, allocations: 115.2 kB / 1.327 GB, free: 4.426 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.9739, allocations: 0 / 1.327 GB, free: 4.426 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001208/0.974, allocations: 55.72 kB / 1.327 GB, free: 4.375 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.9741, allocations: 132 kB / 1.327 GB, free: 4.234 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005755/0.9747, allocations: 0.4929 MB / 1.327 GB, free: 3.965 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.9747, allocations: 25.7 kB / 1.327 GB, free: 3.934 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.9748, allocations: 168.2 kB / 1.327 GB, free: 3.781 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.9748, allocations: 9.109 kB / 1.327 GB, free: 3.773 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.9749, allocations: 26.12 kB / 1.327 GB, free: 3.754 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.975, allocations: 336 kB / 1.328 GB, free: 3.426 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.9751, allocations: 50.39 kB / 1.328 GB, free: 3.406 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.9752, allocations: 95.62 kB / 1.328 GB, free: 3.324 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.9754, allocations: 109.4 kB / 1.328 GB, free: 3.234 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9754, allocations: 1.125 kB / 1.328 GB, free: 3.234 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002956/0.9757, allocations: 178.8 kB / 1.328 GB, free: 3.141 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.9757, allocations: 5.406 kB / 1.328 GB, free: 3.141 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.9757, allocations: 6.188 kB / 1.328 GB, free: 3.137 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.9757, allocations: 6.438 kB / 1.328 GB, free: 3.133 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.9758, allocations: 23.67 kB / 1.328 GB, free: 3.125 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.9758, allocations: 2.156 kB / 1.328 GB, free: 3.125 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.9759, allocations: 41.22 kB / 1.328 GB, free: 3.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.9759, allocations: 6.719 kB / 1.328 GB, free: 3.102 MB / 1.014 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.000197/0.9761, allocations: 244.6 kB / 1.328 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.9763, allocations: 131.9 kB / 1.329 GB, free: 2.766 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.9764, allocations: 143.1 kB / 1.329 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/0.9765, allocations: 181.3 kB / 1.329 GB, free: 2.445 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.981e-05/0.9766, allocations: 177.3 kB / 1.329 GB, free: 2.266 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.751e-05/0.9767, allocations: 177.2 kB / 1.329 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.9771, allocations: 493.5 kB / 1.33 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.168e-05/0.9771, allocations: 107.5 kB / 1.33 GB, free: 1.477 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.9772, allocations: 109.9 kB / 1.33 GB, free: 1.363 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.793e-05/0.9773, allocations: 181.5 kB / 1.33 GB, free: 1.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.02e-05/0.9773, allocations: 185.4 kB / 1.33 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-05/0.9774, allocations: 184.2 kB / 1.33 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.941e-05/0.9775, allocations: 181.3 kB / 1.331 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.9777, allocations: 337.4 kB / 1.331 GB, free: 288 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.9779, allocations: 216.2 kB / 1.331 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.978, allocations: 185.2 kB / 1.331 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.9781, allocations: 106.3 kB / 1.331 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.9782, allocations: 180.2 kB / 1.332 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.9783, allocations: 106.4 kB / 1.332 GB, free: 15.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003776/0.9786, allocations: 365.7 kB / 1.332 GB, free: 15.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.9786, allocations: 0 / 1.332 GB, free: 15.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002728/0.9789, allocations: 28.41 kB / 1.332 GB, free: 15.28 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.0002103/0.9791, allocations: 177.5 kB / 1.332 GB, free: 15.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.9793, allocations: 62.89 kB / 1.332 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9793, allocations: 4.062 kB / 1.332 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.772e-06/0.9793, allocations: 5.219 kB / 1.332 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006718/0.98, allocations: 483.9 kB / 1.333 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.9807, allocations: 0.4952 MB / 1.333 GB, free: 14.26 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.9811, allocations: 0.7781 MB / 1.334 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.9812, allocations: 18.28 kB / 1.334 GB, free: 13.51 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.9812, allocations: 0 / 1.334 GB, free: 13.51 MB / 1.029 GB Notification: Performance of Templates: time 0.00513/0.9863, allocations: 2.649 MB / 1.337 GB, free: 12.2 MB / 1.029 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.852130551997107]