Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001466/0.001466, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001723/0.001723, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.566/1.566, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.98/2.98, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 1 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.706e-05/3.946e-05, allocations: 4.672 kB / 1 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002288/0.002327, allocations: 0.7358 MB / 1.001 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0003041/0.002632, allocations: 51.89 kB / 1.001 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.002701, allocations: 7.938 kB / 1.001 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.002878, allocations: 19.8 kB / 1.001 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.494e-05/0.002933, allocations: 11.92 kB / 1.001 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.003119, allocations: 27.95 kB / 1.001 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.003349, allocations: 127.6 kB / 1.001 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.003618, allocations: 96.81 kB / 1.001 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.003774, allocations: 91.86 kB / 1.001 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.003893, allocations: 67.81 kB / 1.001 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.003939, allocations: 12 kB / 1.001 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 3.331e-05/0.003972, allocations: 12 kB / 1.001 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.004075, allocations: 51.83 kB / 1.001 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.528e-05/0.004171, allocations: 59.78 kB / 1.002 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.004492, allocations: 231.2 kB / 1.002 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.004495, allocations: 0 / 1.002 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004496, allocations: 0 / 1.002 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.004506, allocations: 4 kB / 1.002 GB, free: 4.559 MB / 0.9044 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.0006767/0.005183, allocations: 421.7 kB / 1.002 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.005222, allocations: 12.03 kB / 1.002 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.349e-05/0.005296, allocations: 24.8 kB / 1.002 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.005633, allocations: 205.3 kB / 1.002 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.005656, allocations: 12.75 kB / 1.002 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.005692, allocations: 20.38 kB / 1.002 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.006214, allocations: 333.6 kB / 1.003 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.006227, allocations: 192 / 1.003 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.006256, allocations: 12.36 kB / 1.003 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.006301, allocations: 20.12 kB / 1.003 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.006665, allocations: 263.8 kB / 1.003 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.007898, allocations: 0.9139 MB / 1.004 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.00802, allocations: 169.1 kB / 1.004 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.008063, allocations: 84.08 kB / 1.004 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.008103, allocations: 79.22 kB / 1.004 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.008162, allocations: 109.8 kB / 1.004 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.008163, allocations: 0 / 1.004 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001075/0.00827, allocations: 41.61 kB / 1.004 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.008348, allocations: 126.7 kB / 1.004 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.008657, allocations: 270.7 kB / 1.005 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.00867, allocations: 29.7 kB / 1.005 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.008812, allocations: 183.9 kB / 1.005 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-06/0.008816, allocations: 0 / 1.005 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.008878, allocations: 29.7 kB / 1.005 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.009027, allocations: 322.8 kB / 1.005 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.009108, allocations: 51.95 kB / 1.005 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.009212, allocations: 89.91 kB / 1.005 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.009364, allocations: 113.9 kB / 1.006 GB, free: 464 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009366, allocations: 0 / 1.006 GB, free: 464 kB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003087/0.009675, allocations: 169.4 kB / 1.006 GB, free: 288 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.009694, allocations: 8 kB / 1.006 GB, free: 280 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.009699, allocations: 0 / 1.006 GB, free: 280 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.009717, allocations: 8.219 kB / 1.006 GB, free: 272 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.009825, allocations: 15.98 kB / 1.006 GB, free: 256 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.009833, allocations: 4 kB / 1.006 GB, free: 252 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.715e-05/0.00992, allocations: 27.81 kB / 1.006 GB, free: 224 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.009941, allocations: 8 kB / 1.006 GB, free: 216 kB / 0.9044 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.0002054/0.01015, allocations: 250.2 kB / 1.006 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/0.01023, allocations: 120.9 kB / 1.006 GB, free: 15.83 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.01031, allocations: 121.5 kB / 1.006 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.113e-05/0.01039, allocations: 180.2 kB / 1.006 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.52e-05/0.01047, allocations: 176.3 kB / 1.007 GB, free: 15.34 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.983e-05/0.01054, allocations: 192.1 kB / 1.007 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.01086, allocations: 428.8 kB / 1.007 GB, free: 14.69 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.539e-05/0.01092, allocations: 101 kB / 1.007 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.01097, allocations: 104.9 kB / 1.007 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.104e-05/0.01105, allocations: 184.2 kB / 1.008 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.723e-05/0.01114, allocations: 184.4 kB / 1.008 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.503e-05/0.01121, allocations: 176.3 kB / 1.008 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.087e-05/0.01129, allocations: 188.2 kB / 1.008 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.01148, allocations: 311.7 kB / 1.008 GB, free: 13.4 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.01155, allocations: 120.8 kB / 1.008 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.01167, allocations: 180.3 kB / 1.009 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.01179, allocations: 120.9 kB / 1.009 GB, free: 12.97 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.01187, allocations: 180.3 kB / 1.009 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.01191, allocations: 105 kB / 1.009 GB, free: 12.68 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001949/0.01211, allocations: 202.3 kB / 1.009 GB, free: 12.48 MB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.01211, allocations: 0 / 1.009 GB, free: 12.48 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003002/0.01241, allocations: 35.83 kB / 1.009 GB, free: 12.45 MB / 0.92 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.0001903/0.0126, allocations: 174.5 kB / 1.009 GB, free: 12.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.01276, allocations: 60.27 kB / 1.009 GB, free: 12.21 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01276, allocations: 4.062 kB / 1.009 GB, free: 12.2 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.01276, allocations: 4 kB / 1.009 GB, free: 12.2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/0.01338, allocations: 479.6 kB / 1.01 GB, free: 11.73 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/0.01407, allocations: 426.7 kB / 1.01 GB, free: 11.28 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.01425, allocations: 171.5 kB / 1.011 GB, free: 11.09 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.919e-05/0.01432, allocations: 28.48 kB / 1.011 GB, free: 11.06 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.01436, allocations: 12.5 kB / 1.011 GB, free: 11.05 MB / 0.92 GB Notification: Performance of SimCode: time 4.9e-07/0.01436, allocations: 0 / 1.011 GB, free: 11.05 MB / 0.92 GB Notification: Performance of Templates: time 0.004278/0.01864, allocations: 0.9799 MB / 1.012 GB, free: 10.09 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.51544190198183]