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.00177/0.00177, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.002176/0.002176, allocations: 160.3 kB / 23 MB, free: 4.957 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.486/1.486, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.789/2.789, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.89 kB / 0.982 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9996/1.002, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001816/1.004, allocations: 0.7239 MB / 1.155 GB, free: 32.87 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002368/1.004, allocations: 56.88 kB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/1.004, allocations: 6.562 kB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/1.004, allocations: 22.16 kB / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/1.004, allocations: 12.92 kB / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/1.004, allocations: 22.59 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000174/1.004, allocations: 126.6 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/1.005, allocations: 97.45 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/1.005, allocations: 70.88 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.782e-05/1.005, allocations: 79.56 kB / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/1.005, allocations: 10.75 kB / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.897e-05/1.005, allocations: 13.56 kB / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/1.005, allocations: 49.14 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/1.005, allocations: 66.11 kB / 1.155 GB, free: 32.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/1.005, allocations: 239.4 kB / 1.156 GB, free: 32.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/1.005, allocations: 0 / 1.156 GB, free: 32.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.983e-06/1.005, allocations: 0 / 1.156 GB, free: 32.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.073e-06/1.005, allocations: 4 kB / 1.156 GB, free: 32.49 MB / 1.076 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.000487/1.006, allocations: 428.4 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/1.006, allocations: 7.938 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/1.006, allocations: 34.69 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/1.006, allocations: 192.1 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/1.006, allocations: 20.36 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/1.006, allocations: 14.94 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/1.006, allocations: 338.4 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/1.006, allocations: 3.938 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/1.006, allocations: 7 kB / 1.157 GB, free: 31.81 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/1.006, allocations: 20.2 kB / 1.157 GB, free: 31.8 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/1.007, allocations: 259.8 kB / 1.157 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008831/1.008, allocations: 0.9159 MB / 1.158 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/1.008, allocations: 176.1 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/1.008, allocations: 84.14 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/1.008, allocations: 75.28 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.008, allocations: 115.8 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.008, allocations: 0 / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.475e-05/1.008, allocations: 39.75 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/1.008, allocations: 126.7 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/1.008, allocations: 261.4 kB / 1.159 GB, free: 30.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/1.008, allocations: 29.7 kB / 1.159 GB, free: 30.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/1.008, allocations: 190 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-06/1.008, allocations: 6.719 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/1.008, allocations: 32.12 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.187e-05/1.008, allocations: 331.3 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/1.008, allocations: 46.52 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/1.008, allocations: 88.28 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.566e-05/1.008, allocations: 107.8 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.008, allocations: 0 / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002208/1.009, allocations: 175.9 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.009, allocations: 10.22 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.009, allocations: 2.875 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.009, allocations: 4.156 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/1.009, allocations: 25.25 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.009, allocations: 0 / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/1.009, allocations: 25.73 kB / 1.16 GB, free: 29.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/1.009, allocations: 8.625 kB / 1.16 GB, free: 29.56 MB / 1.076 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 9.912e-05/1.009, allocations: 249.3 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/1.009, allocations: 114.5 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/1.009, allocations: 121.1 kB / 1.16 GB, free: 29.13 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/1.009, allocations: 184.2 kB / 1.16 GB, free: 28.94 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.567e-05/1.009, allocations: 179.1 kB / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/1.009, allocations: 180.2 kB / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/1.009, allocations: 432.4 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.009, allocations: 104.9 kB / 1.161 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/1.009, allocations: 101 kB / 1.161 GB, free: 27.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.627e-05/1.009, allocations: 187.3 kB / 1.161 GB, free: 27.78 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/1.009, allocations: 180.2 kB / 1.161 GB, free: 27.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-05/1.009, allocations: 182.1 kB / 1.162 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.709e-05/1.009, allocations: 185.1 kB / 1.162 GB, free: 27.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.531e-05/1.01, allocations: 312.8 kB / 1.162 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/1.01, allocations: 118.2 kB / 1.162 GB, free: 26.79 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/1.01, allocations: 176.3 kB / 1.162 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/1.01, allocations: 114.8 kB / 1.163 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/1.01, allocations: 183.5 kB / 1.163 GB, free: 26.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/1.01, allocations: 108.3 kB / 1.163 GB, free: 26.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000128/1.01, allocations: 191.8 kB / 1.163 GB, free: 26.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.01, allocations: 0 / 1.163 GB, free: 26.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002596/1.01, allocations: 43.75 kB / 1.163 GB, free: 26.09 MB / 1.076 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.000116/1.01, allocations: 172.4 kB / 1.163 GB, free: 25.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001296/1.01, allocations: 61.83 kB / 1.163 GB, free: 25.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.01, allocations: 4.125 kB / 1.163 GB, free: 25.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/1.01, allocations: 0 / 1.163 GB, free: 25.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/1.011, allocations: 477.7 kB / 1.164 GB, free: 25.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/1.011, allocations: 446 kB / 1.164 GB, free: 25.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/1.011, allocations: 171.1 kB / 1.164 GB, free: 25.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.449e-05/1.011, allocations: 28.11 kB / 1.164 GB, free: 25.06 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/1.012, allocations: 19.56 kB / 1.164 GB, free: 25.05 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/1.012, allocations: 0 / 1.164 GB, free: 25.05 MB / 1.076 GB Notification: Performance of Templates: time 0.003643/1.015, allocations: 0.9731 MB / 1.165 GB, free: 24.91 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.968508056015708]