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.001547/0.001547, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002509/0.002509, allocations: 213.6 kB / 23 MB, free: 4.965 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.394/3.394, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002035/0.002035, allocations: 68.11 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4213, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002368/0.4237, allocations: 0.7299 MB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000266/0.4239, allocations: 52.23 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.424, allocations: 7.938 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.4242, allocations: 15.86 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.574e-05/0.4242, allocations: 11.92 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.4244, allocations: 31.97 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.4246, allocations: 119.6 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.4249, allocations: 88.83 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.425, allocations: 71.78 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.4251, allocations: 71.64 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.4251, allocations: 12 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.332e-05/0.4251, allocations: 12 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.4252, allocations: 47.86 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.4253, allocations: 79.53 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.4256, allocations: 239 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4256, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4256, allocations: 3.938 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.4256, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 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.0006614/0.4263, allocations: 437.6 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4264, allocations: 8.031 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.4264, allocations: 28.75 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.4268, allocations: 210.1 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.4268, allocations: 12.75 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.4269, allocations: 20.38 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.4274, allocations: 333.2 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.4274, allocations: 3.938 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.4274, allocations: 8 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.4275, allocations: 11.98 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.4279, allocations: 263.8 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.4291, allocations: 0.9137 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.4292, allocations: 165.1 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/0.4293, allocations: 84.12 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/0.4294, allocations: 79.22 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.4294, allocations: 113.8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.4294, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.314e-05/0.4295, allocations: 37.78 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.4295, allocations: 51.41 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.4299, allocations: 271 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.4299, allocations: 25.7 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.4301, allocations: 183.9 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.4301, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.4302, allocations: 33.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002283/0.4304, allocations: 322.8 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.4305, allocations: 51.95 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.4306, allocations: 101.9 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.4308, allocations: 97.92 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.4308, allocations: 7.922 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003764/0.4311, allocations: 181.4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4312, allocations: 4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.4312, allocations: 4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4312, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.4313, allocations: 23.92 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4313, allocations: 4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.4314, allocations: 15.98 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.4314, allocations: 8 kB / 1.333 GB, free: 11.07 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.0002201/0.4316, allocations: 249.5 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/0.4317, allocations: 117.1 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.844e-05/0.4318, allocations: 121.5 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.441e-05/0.4319, allocations: 188.1 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.087e-05/0.4319, allocations: 105 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.432, allocations: 116.9 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.4321, allocations: 180.2 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.4322, allocations: 109 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4323, allocations: 184.2 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000134/0.4325, allocations: 251.5 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002418/0.4327, allocations: 398.9 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.188e-05/0.4328, allocations: 108.9 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002047/0.433, allocations: 192.5 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of Backend: time 4.91e-07/0.433, allocations: 0 / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.4335, allocations: 142.2 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of SimCode: time 0.001441/0.4349, allocations: 1.13 MB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of Templates: time 0.005121/0.44, allocations: 1.548 MB / 1.338 GB, free: 5.832 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/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: 9.572424430996762]