Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001314/0.001314, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001365/0.001365, allocations: 160 kB / 23.01 MB, free: 4.605 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.531/1.531, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.989/2.989, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.0032/0.0032, allocations: 63.91 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.019, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002163/1.022, allocations: 0.734 MB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002551/1.022, allocations: 51.69 kB / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/1.022, allocations: 9.25 kB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/1.022, allocations: 20.11 kB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/1.022, allocations: 11.67 kB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/1.022, allocations: 31.45 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/1.022, allocations: 119.2 kB / 1.188 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/1.023, allocations: 91.44 kB / 1.188 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/1.023, allocations: 68.14 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/1.023, allocations: 79.91 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/1.023, allocations: 11.66 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.455e-05/1.023, allocations: 11.84 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/1.023, allocations: 62.5 kB / 1.188 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.242e-05/1.023, allocations: 68.72 kB / 1.188 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/1.023, allocations: 238.7 kB / 1.188 GB, free: 15.38 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.023, allocations: 1 kB / 1.188 GB, free: 15.38 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.683e-06/1.023, allocations: 0 / 1.188 GB, free: 15.38 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.306e-05/1.023, allocations: 0 / 1.188 GB, free: 15.38 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.0005194/1.024, allocations: 424.5 kB / 1.189 GB, free: 15.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/1.024, allocations: 9.812 kB / 1.189 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/1.024, allocations: 23.48 kB / 1.189 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/1.024, allocations: 205.7 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/1.024, allocations: 16.06 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/1.024, allocations: 20.12 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/1.025, allocations: 337.7 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.025, allocations: 3.938 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/1.025, allocations: 6.406 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/1.025, allocations: 17.52 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/1.025, allocations: 263 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/1.026, allocations: 0.922 MB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.368e-05/1.026, allocations: 166.4 kB / 1.191 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/1.026, allocations: 80.14 kB / 1.191 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/1.026, allocations: 81.09 kB / 1.191 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/1.026, allocations: 115 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/1.026, allocations: 1.188 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.257e-05/1.026, allocations: 44.12 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/1.027, allocations: 127.4 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/1.027, allocations: 262.1 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-06/1.027, allocations: 25.7 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/1.027, allocations: 181.8 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/1.027, allocations: 0 / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/1.027, allocations: 33.72 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.731e-05/1.027, allocations: 328 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/1.027, allocations: 44.84 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.649e-05/1.027, allocations: 100.2 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/1.027, allocations: 102.2 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.027, allocations: 5.062 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002969/1.028, allocations: 175.3 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.028, allocations: 8.75 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/1.028, allocations: 2.156 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.028, allocations: 6.719 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/1.028, allocations: 18.55 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.028, allocations: 2.438 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/1.028, allocations: 23.78 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/1.028, allocations: 11.58 kB / 1.192 GB, free: 12.46 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 0.0001418/1.028, allocations: 250.2 kB / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/1.028, allocations: 120.1 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/1.028, allocations: 116.2 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/1.028, allocations: 186.1 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-05/1.028, allocations: 182.3 kB / 1.193 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/1.028, allocations: 182.2 kB / 1.193 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/1.028, allocations: 423.6 kB / 1.194 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.028, allocations: 102.7 kB / 1.194 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/1.028, allocations: 106.6 kB / 1.194 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.607e-05/1.028, allocations: 186 kB / 1.194 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/1.028, allocations: 186 kB / 1.194 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.521e-05/1.028, allocations: 182.5 kB / 1.194 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.523e-05/1.028, allocations: 184.1 kB / 1.195 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.412e-05/1.029, allocations: 314.7 kB / 1.195 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/1.029, allocations: 112.9 kB / 1.195 GB, free: 9.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/1.029, allocations: 179.2 kB / 1.195 GB, free: 9.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/1.029, allocations: 106.6 kB / 1.195 GB, free: 9.395 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/1.029, allocations: 190.3 kB / 1.195 GB, free: 9.203 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/1.029, allocations: 103.4 kB / 1.195 GB, free: 9.098 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001804/1.029, allocations: 196.5 kB / 1.196 GB, free: 8.992 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.029, allocations: 0 / 1.196 GB, free: 8.992 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002862/1.029, allocations: 37.97 kB / 1.196 GB, free: 8.98 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.0001079/1.029, allocations: 176.6 kB / 1.196 GB, free: 8.809 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000157/1.03, allocations: 67.42 kB / 1.196 GB, free: 8.793 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.03, allocations: 0 / 1.196 GB, free: 8.793 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/1.03, allocations: 1.062 kB / 1.196 GB, free: 8.793 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/1.03, allocations: 481 kB / 1.196 GB, free: 8.332 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005415/1.03, allocations: 442 kB / 1.197 GB, free: 8.039 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/1.031, allocations: 176.7 kB / 1.197 GB, free: 7.949 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.859e-05/1.031, allocations: 25.5 kB / 1.197 GB, free: 7.949 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/1.031, allocations: 12.44 kB / 1.197 GB, free: 7.941 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.031, allocations: 0 / 1.197 GB, free: 7.941 MB / 1.076 GB Notification: Performance of Templates: time 0.003967/1.035, allocations: 0.9772 MB / 1.198 GB, free: 7.793 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.205406778026372]