Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002264/0.002264, allocations: 87.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.00258/0.00258, allocations: 161.7 kB / 23.55 MB, free: 0.875 MB / 18.57 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.63/1.63, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.901/2.901, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.7864 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.371e-05, allocations: 7.906 kB / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002109/0.002143, allocations: 0.741 MB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002639/0.002407, allocations: 57.17 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.002453, allocations: 3.938 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.002616, allocations: 23.78 kB / 0.7873 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.002667, allocations: 8.828 kB / 0.7873 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.002839, allocations: 27.11 kB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.003062, allocations: 131.6 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.003281, allocations: 84.89 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.00341, allocations: 88.53 kB / 0.7876 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.003529, allocations: 79.72 kB / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.003573, allocations: 13.25 kB / 0.7877 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.416e-05/0.003607, allocations: 12 kB / 0.7877 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.395e-05/0.003701, allocations: 47.84 kB / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.003784, allocations: 53.42 kB / 0.7878 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.004085, allocations: 231.2 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.004087, allocations: 0 / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004088, allocations: 0 / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.004094, allocations: 1.594 kB / 0.788 GB, free: 11.15 MB / 0.7448 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.0008689/0.004963, allocations: 0.5347 MB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.005006, allocations: 12.03 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.597e-05/0.005102, allocations: 40.8 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.005464, allocations: 192.8 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.005485, allocations: 16.19 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.005518, allocations: 16.38 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.006039, allocations: 302.7 kB / 0.7891 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.006052, allocations: 192 / 0.7891 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.006075, allocations: 8.375 kB / 0.7891 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/0.006112, allocations: 16.12 kB / 0.7891 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.006441, allocations: 211.8 kB / 0.7893 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.007969, allocations: 1.164 MB / 0.7904 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.00815, allocations: 261.4 kB / 0.7907 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.008228, allocations: 126.9 kB / 0.7908 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.486e-05/0.008293, allocations: 119.9 kB / 0.7909 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.578e-05/0.008389, allocations: 158.2 kB / 0.7911 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.00839, allocations: 0 / 0.7911 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001061/0.008496, allocations: 45.53 kB / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.008612, allocations: 170.6 kB / 0.7913 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.008992, allocations: 333.7 kB / 0.7916 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.009009, allocations: 26.36 kB / 0.7916 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.00933, allocations: 235.4 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.009332, allocations: 0 / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.036e-05/0.009402, allocations: 36.55 kB / 0.7919 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002902/0.009693, allocations: 0.504 MB / 0.7924 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.769e-05/0.00976, allocations: 35.97 kB / 0.7924 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.009883, allocations: 101.8 kB / 0.7925 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.01005, allocations: 120.9 kB / 0.7926 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01005, allocations: 0 / 0.7926 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003092/0.01036, allocations: 155.4 kB / 0.7928 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.01037, allocations: 4 kB / 0.7928 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.01038, allocations: 9.344 kB / 0.7928 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.0104, allocations: 0 / 0.7928 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.01052, allocations: 19.98 kB / 0.7928 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01053, allocations: 4 kB / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.01061, allocations: 28.34 kB / 0.7928 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.01063, allocations: 8.531 kB / 0.7928 GB, free: 5.914 MB / 0.7448 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.0002206/0.01085, allocations: 312.5 kB / 0.7931 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.01097, allocations: 164.8 kB / 0.7933 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-05/0.01107, allocations: 158.2 kB / 0.7934 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001356/0.0112, allocations: 268 kB / 0.7937 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001398/0.01134, allocations: 272.1 kB / 0.794 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001512/0.01149, allocations: 276.5 kB / 0.7942 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.01199, allocations: 0.5988 MB / 0.7948 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.655e-05/0.01208, allocations: 144.9 kB / 0.7949 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.434e-05/0.01218, allocations: 156.8 kB / 0.7951 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.01232, allocations: 268.1 kB / 0.7954 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.01247, allocations: 269.2 kB / 0.7956 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001372/0.01261, allocations: 268.1 kB / 0.7959 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001476/0.01276, allocations: 268.1 kB / 0.7961 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.01303, allocations: 456.7 kB / 0.7966 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.01314, allocations: 160.7 kB / 0.7967 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.01329, allocations: 269 kB / 0.797 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.01344, allocations: 152.9 kB / 0.7971 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.01358, allocations: 272 kB / 0.7974 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.827e-05/0.01366, allocations: 146.1 kB / 0.7975 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002318/0.01389, allocations: 230.9 kB / 0.7977 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01389, allocations: 0 / 0.7977 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003028/0.01419, allocations: 44.73 kB / 0.7978 GB, free: 0.6719 MB / 0.7448 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.0002082/0.0144, allocations: 212.7 kB / 0.798 GB, free: 468 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.01457, allocations: 67.67 kB / 0.798 GB, free: 396 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01457, allocations: 0 / 0.798 GB, free: 396 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.01457, allocations: 7.25 kB / 0.798 GB, free: 392 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.0153, allocations: 0.7351 MB / 0.7988 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009268/0.01622, allocations: 463.1 kB / 0.7992 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.01641, allocations: 151.5 kB / 0.7994 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.849e-05/0.01646, allocations: 17.58 kB / 0.7994 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.01651, allocations: 12.5 kB / 0.7994 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of SimCode: time 4.91e-07/0.01651, allocations: 0 / 0.7994 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of Templates: time 0.004446/0.02095, allocations: 0.9829 MB / 0.8003 GB, free: 14.02 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.158332582912408]