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.002012/0.002012, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001876/0.001876, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.527/1.527, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.788/2.788, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.845e-06/2.845e-06, allocations: 0 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.212e-05, allocations: 6.969 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002804/0.002836, allocations: 0.7439 MB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003481/0.003184, allocations: 55.77 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.003244, allocations: 8.688 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.003439, allocations: 23.78 kB / 0.7873 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.0035, allocations: 9.172 kB / 0.7873 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.003682, allocations: 21.39 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.003989, allocations: 132.4 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.004254, allocations: 80.91 kB / 0.7875 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.004433, allocations: 96.41 kB / 0.7876 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.004583, allocations: 67.81 kB / 0.7876 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.004636, allocations: 13.25 kB / 0.7877 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.725e-05/0.004693, allocations: 12 kB / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.004801, allocations: 47.84 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.004921, allocations: 57.41 kB / 0.7878 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.005343, allocations: 235.2 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005346, allocations: 0 / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.272e-06/0.005348, allocations: 3.938 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.005353, allocations: 1.219 kB / 0.788 GB, free: 11.16 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.0008445/0.006198, allocations: 421.7 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.006244, allocations: 12.03 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.006376, allocations: 41.48 kB / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.006828, allocations: 201.4 kB / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.006857, allocations: 13.66 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.006901, allocations: 16.38 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008315/0.007732, allocations: 342.2 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.007748, allocations: 192 / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.007785, allocations: 9.969 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/0.007839, allocations: 16.12 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005993/0.008438, allocations: 263.8 kB / 0.7893 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.01031, allocations: 0.918 MB / 0.7902 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.01047, allocations: 173.7 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.215e-05/0.01055, allocations: 80.14 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.01061, allocations: 82.72 kB / 0.7905 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.501e-05/0.0107, allocations: 105.8 kB / 0.7906 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.0107, allocations: 0 / 0.7906 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001336/0.01084, allocations: 37.61 kB / 0.7906 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.01095, allocations: 138.6 kB / 0.7908 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007757/0.01173, allocations: 272.2 kB / 0.791 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.01175, allocations: 25.7 kB / 0.791 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.01196, allocations: 180 kB / 0.7912 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/0.01196, allocations: 0 / 0.7912 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/0.01206, allocations: 34.38 kB / 0.7912 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000242/0.0123, allocations: 322.8 kB / 0.7916 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.01244, allocations: 49.61 kB / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.01261, allocations: 89.97 kB / 0.7917 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.01286, allocations: 111.8 kB / 0.7918 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01286, allocations: 5.344 kB / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005201/0.01338, allocations: 166.6 kB / 0.792 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.01341, allocations: 8 kB / 0.792 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01341, allocations: 0 / 0.792 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.01344, allocations: 4.781 kB / 0.792 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.01361, allocations: 23.92 kB / 0.792 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01362, allocations: 1.281 kB / 0.792 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.01376, allocations: 31.81 kB / 0.792 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.01379, allocations: 4 kB / 0.792 GB, free: 6.809 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.0003023/0.01409, allocations: 246.4 kB / 0.7923 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.01424, allocations: 120.9 kB / 0.7924 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.01437, allocations: 125.5 kB / 0.7925 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001358/0.0145, allocations: 177.4 kB / 0.7927 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001404/0.01465, allocations: 180.7 kB / 0.7928 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001494/0.01479, allocations: 192.2 kB / 0.793 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.01532, allocations: 429.6 kB / 0.7934 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-05/0.01539, allocations: 104.9 kB / 0.7935 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/0.01547, allocations: 106 kB / 0.7936 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/0.0156, allocations: 184.2 kB / 0.7938 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.01573, allocations: 180.8 kB / 0.794 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001395/0.01587, allocations: 188.2 kB / 0.7942 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001291/0.016, allocations: 177.6 kB / 0.7943 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.01629, allocations: 315.6 kB / 0.7946 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.0164, allocations: 112.9 kB / 0.7947 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.01657, allocations: 189.4 kB / 0.7949 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.01677, allocations: 109 kB / 0.795 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.01691, allocations: 184.2 kB / 0.7952 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-05/0.017, allocations: 105.6 kB / 0.7953 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003287/0.01733, allocations: 187.2 kB / 0.7955 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01733, allocations: 0.7188 kB / 0.7955 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005032/0.01783, allocations: 39.77 kB / 0.7955 GB, free: 3.055 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.0002608/0.01809, allocations: 171.3 kB / 0.7957 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.01832, allocations: 66.05 kB / 0.7957 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01832, allocations: 0 / 0.7957 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.01832, allocations: 0 / 0.7957 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009345/0.01926, allocations: 488.7 kB / 0.7962 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009711/0.02023, allocations: 449.2 kB / 0.7966 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.02051, allocations: 169.8 kB / 0.7968 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.02061, allocations: 31.75 kB / 0.7968 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.02067, allocations: 12.5 kB / 0.7968 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.02067, allocations: 0 / 0.7968 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of Templates: time 0.005449/0.02612, allocations: 0.9856 MB / 0.7978 GB, free: 0.7031 MB / 0.7448 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 400] 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: 7.847841480048373]