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.001185/0.001185, allocations: 79.73 kB / 20.98 MB, free: 3.555 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.001378/0.001378, allocations: 165 kB / 24.28 MB, free: 264 kB / 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.028/1.028, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 1.81/1.81, allocations: 359 MB / 0.6055 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|matMax1.y.[0-9,]+.|matMax2.y.[0-9,]+.",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.[0-9,]+.|matMax1.y.[0-9,]+.|matMax2.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.756e-05, allocations: 3.188 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001419/0.001447, allocations: 0.7475 MB / 0.7879 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002161/0.001663, allocations: 53.02 kB / 0.788 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.001722, allocations: 3.938 kB / 0.788 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.001875, allocations: 19.86 kB / 0.788 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.001927, allocations: 13.92 kB / 0.788 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.002102, allocations: 25.5 kB / 0.788 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.002295, allocations: 127.6 kB / 0.7881 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.002496, allocations: 86.95 kB / 0.7882 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.002576, allocations: 91.8 kB / 0.7883 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.842e-05/0.002654, allocations: 73.28 kB / 0.7884 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.002687, allocations: 12 kB / 0.7884 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.798e-05/0.002705, allocations: 12 kB / 0.7884 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.002772, allocations: 55.09 kB / 0.7885 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.002831, allocations: 51.83 kB / 0.7885 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.002998, allocations: 167.4 kB / 0.7887 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003, allocations: 0 / 0.7887 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003001, allocations: 0 / 0.7887 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.003006, allocations: 0 / 0.7887 GB, free: 11.22 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.0004621/0.003468, allocations: 0.5312 MB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.00351, allocations: 12.02 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.003575, allocations: 36.8 kB / 0.7892 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.003778, allocations: 197.2 kB / 0.7894 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.003794, allocations: 12.75 kB / 0.7894 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.003816, allocations: 24.91 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.004094, allocations: 226.8 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.004104, allocations: 0.9062 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.004121, allocations: 8.375 kB / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.004156, allocations: 21.61 kB / 0.7897 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.004311, allocations: 135.9 kB / 0.7898 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007791/0.00509, allocations: 1.083 MB / 0.7909 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.695e-05/0.005177, allocations: 261.4 kB / 0.7911 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.005213, allocations: 127.5 kB / 0.7913 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.005239, allocations: 120.2 kB / 0.7914 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.005288, allocations: 164.5 kB / 0.7915 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.005289, allocations: 0 / 0.7915 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.845e-05/0.005357, allocations: 34.41 kB / 0.7916 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.005419, allocations: 170.6 kB / 0.7917 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.005615, allocations: 286.9 kB / 0.792 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.005624, allocations: 30.98 kB / 0.792 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.005735, allocations: 238.7 kB / 0.7923 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.005738, allocations: 0 / 0.7923 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.005777, allocations: 31.36 kB / 0.7923 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.005915, allocations: 0.5016 MB / 0.7928 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.00594, allocations: 7.984 kB / 0.7928 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.308e-05/0.005993, allocations: 73.73 kB / 0.7929 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.006074, allocations: 80.89 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006076, allocations: 4 kB / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000163/0.006239, allocations: 91.12 kB / 0.793 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.006254, allocations: 9.719 kB / 0.793 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.006258, allocations: 0.5 kB / 0.793 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.006272, allocations: 4 kB / 0.793 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.006347, allocations: 16.55 kB / 0.793 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.006352, allocations: 5.531 kB / 0.7931 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.006401, allocations: 27.88 kB / 0.7931 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.006414, allocations: 8 kB / 0.7931 GB, free: 6.414 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.0001096/0.006523, allocations: 279.7 kB / 0.7934 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.006578, allocations: 157.3 kB / 0.7935 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.668e-05/0.006645, allocations: 167.4 kB / 0.7937 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.199e-05/0.006707, allocations: 268 kB / 0.7939 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.006e-05/0.006767, allocations: 264.1 kB / 0.7942 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.102e-05/0.006838, allocations: 280 kB / 0.7944 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.00708, allocations: 0.5819 MB / 0.795 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-05/0.007119, allocations: 153.5 kB / 0.7952 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.007157, allocations: 152.8 kB / 0.7953 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.594e-05/0.007223, allocations: 269.1 kB / 0.7956 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.007294, allocations: 272 kB / 0.7958 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-05/0.007361, allocations: 268.2 kB / 0.7961 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.326e-05/0.007424, allocations: 268.9 kB / 0.7963 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.007575, allocations: 455.9 kB / 0.7968 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.007629, allocations: 165.6 kB / 0.7969 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/0.007705, allocations: 264.1 kB / 0.7972 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.007774, allocations: 155 kB / 0.7973 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.007842, allocations: 272.1 kB / 0.7976 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.007874, allocations: 144.9 kB / 0.7977 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001003/0.007975, allocations: 194.2 kB / 0.7979 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007975, allocations: 0 / 0.7979 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001804/0.008155, allocations: 43.77 kB / 0.7979 GB, free: 1.25 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.0001127/0.008268, allocations: 219.3 kB / 0.7982 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.008376, allocations: 43.36 kB / 0.7982 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.008377, allocations: 0 / 0.7982 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.008378, allocations: 0 / 0.7982 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.00878, allocations: 0.7295 MB / 0.7989 GB, free: 256 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.009203, allocations: 450.4 kB / 0.7993 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.529e-05/0.009258, allocations: 95.28 kB / 0.7994 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.009299, allocations: 20.47 kB / 0.7994 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.009327, allocations: 13.66 kB / 0.7995 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of SimCode: time 9.52e-07/0.009328, allocations: 0 / 0.7995 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of Templates: time 0.003174/0.0125, allocations: 0.9751 MB / 0.8004 GB, free: 14.7 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.330746709136292]