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.001433/0.001433, allocations: 80.06 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.001541/0.001541, allocations: 163.8 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.532/1.532, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.849/2.849, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.317e-06/3.317e-06, allocations: 0 / 0.9815 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.618e-05/3.95e-05, allocations: 6.219 kB / 0.9815 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002052/0.002091, allocations: 0.7262 MB / 0.9822 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002855/0.002377, allocations: 55.81 kB / 0.9823 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.002436, allocations: 3.938 kB / 0.9823 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.002606, allocations: 19.8 kB / 0.9823 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.002666, allocations: 15.92 kB / 0.9823 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.002842, allocations: 27.2 kB / 0.9823 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.003061, allocations: 131.6 kB / 0.9825 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.003292, allocations: 92.77 kB / 0.9825 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.003406, allocations: 87.86 kB / 0.9826 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.003512, allocations: 71.81 kB / 0.9827 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.003563, allocations: 12 kB / 0.9827 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.349e-05/0.003596, allocations: 16 kB / 0.9827 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-05/0.003688, allocations: 51.83 kB / 0.9828 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.221e-05/0.00377, allocations: 51.78 kB / 0.9828 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.004069, allocations: 235.2 kB / 0.983 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004071, allocations: 0 / 0.983 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004072, allocations: 0 / 0.983 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.004081, allocations: 3.938 kB / 0.983 GB, free: 9.273 MB / 0.8887 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.0006135/0.004695, allocations: 425.7 kB / 0.9835 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.004739, allocations: 8.031 kB / 0.9835 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.004798, allocations: 24.8 kB / 0.9835 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.00511, allocations: 209.3 kB / 0.9837 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.005126, allocations: 12.75 kB / 0.9837 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.005163, allocations: 20.31 kB / 0.9837 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.005681, allocations: 337.6 kB / 0.984 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.005693, allocations: 192 / 0.984 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.005718, allocations: 8.375 kB / 0.984 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.005751, allocations: 12.12 kB / 0.9841 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.006115, allocations: 267.8 kB / 0.9843 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.007372, allocations: 0.9216 MB / 0.9852 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.007482, allocations: 169.1 kB / 0.9854 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.007529, allocations: 84.14 kB / 0.9855 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.007564, allocations: 75.28 kB / 0.9855 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.007619, allocations: 109.8 kB / 0.9856 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.007621, allocations: 3.938 kB / 0.9856 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.409e-05/0.007715, allocations: 37.61 kB / 0.9857 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.007797, allocations: 130.7 kB / 0.9858 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.008108, allocations: 265.8 kB / 0.986 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.008124, allocations: 25.7 kB / 0.9861 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.008278, allocations: 179.9 kB / 0.9862 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.008286, allocations: 8 kB / 0.9863 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.008344, allocations: 29.7 kB / 0.9863 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.008495, allocations: 326.8 kB / 0.9866 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-05/0.008573, allocations: 47.95 kB / 0.9866 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.008684, allocations: 89.97 kB / 0.9867 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.008839, allocations: 105.8 kB / 0.9868 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.008841, allocations: 0 / 0.9868 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003205/0.009161, allocations: 177.4 kB / 0.987 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.009181, allocations: 5.875 kB / 0.987 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.00919, allocations: 7.938 kB / 0.987 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.009205, allocations: 0 / 0.987 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.00933, allocations: 27.92 kB / 0.987 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.009338, allocations: 4 kB / 0.987 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.166e-05/0.009429, allocations: 27.81 kB / 0.9871 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.009453, allocations: 12.22 kB / 0.9871 GB, free: 4.914 MB / 0.8887 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.000213/0.009666, allocations: 249.1 kB / 0.9873 GB, free: 4.66 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.009755, allocations: 112.9 kB / 0.9874 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-05/0.009847, allocations: 121.5 kB / 0.9875 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/0.00995, allocations: 180.2 kB / 0.9877 GB, free: 4.238 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.974e-05/0.01005, allocations: 180.3 kB / 0.9879 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.156e-05/0.01014, allocations: 180.2 kB / 0.9881 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.0105, allocations: 428.7 kB / 0.9885 GB, free: 3.414 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.194e-05/0.01055, allocations: 109 kB / 0.9886 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.0106, allocations: 108.9 kB / 0.9887 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.095e-05/0.01069, allocations: 180.3 kB / 0.9888 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.01079, allocations: 184.4 kB / 0.989 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001039/0.0109, allocations: 180.2 kB / 0.9892 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.48e-05/0.01098, allocations: 180.3 kB / 0.9894 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.01118, allocations: 323.6 kB / 0.9897 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.01126, allocations: 112.9 kB / 0.9898 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.01139, allocations: 184.2 kB / 0.99 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01149, allocations: 105 kB / 0.9901 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.0116, allocations: 184.2 kB / 0.9902 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-05/0.01165, allocations: 109 kB / 0.9903 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002112/0.01187, allocations: 187.3 kB / 0.9905 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.01187, allocations: 8 kB / 0.9905 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002877/0.01215, allocations: 43.78 kB / 0.9906 GB, free: 1.16 MB / 0.8887 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.0002095/0.01236, allocations: 170.5 kB / 0.9907 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.01253, allocations: 59.89 kB / 0.9908 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01254, allocations: 0 / 0.9908 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.01254, allocations: 3.938 kB / 0.9908 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/0.0132, allocations: 480 kB / 0.9912 GB, free: 456 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007107/0.01391, allocations: 435 kB / 0.9917 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.01411, allocations: 171.5 kB / 0.9918 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.745e-05/0.01418, allocations: 28.47 kB / 0.9918 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.01422, allocations: 16.5 kB / 0.9919 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of SimCode: time 5.51e-07/0.01422, allocations: 0 / 0.9919 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of Templates: time 0.004421/0.01865, allocations: 0.978 MB / 0.9928 GB, free: 14.8 MB / 0.9044 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/jenkins/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: 8.259604308754206]