Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 67.89 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7033/0.7051, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00239/0.7076, allocations: 0.7407 MB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002805/0.7079, allocations: 55.83 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.7079, allocations: 0 / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.7081, allocations: 15.81 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.326e-05/0.7082, allocations: 7.984 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.7084, allocations: 31.97 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.7086, allocations: 123.6 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.7088, allocations: 156.5 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.154e-05/0.7089, allocations: 71.8 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.709, allocations: 71.64 kB / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.227e-05/0.7091, allocations: 12 kB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.975e-05/0.7091, allocations: 12 kB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.7092, allocations: 51.84 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.56e-05/0.7093, allocations: 87.41 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.7095, allocations: 227.3 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7095, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7096, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.7096, allocations: 3.984 kB / 1.019 GB, free: 0.8711 MB / 0.7637 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.0005099/0.7101, allocations: 497 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.7101, allocations: 8.031 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.7102, allocations: 24.66 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.7105, allocations: 259.8 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.7105, allocations: 16.83 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.7105, allocations: 16.38 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.711, allocations: 337.2 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.711, allocations: 7.938 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.711, allocations: 11.94 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.7111, allocations: 11.94 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.7114, allocations: 263.8 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.7125, allocations: 1.084 MB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.717e-05/0.7126, allocations: 169.1 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.7127, allocations: 84.08 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.7127, allocations: 75.28 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.7127, allocations: 113.8 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.7127, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.993e-05/0.7128, allocations: 53.55 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.7129, allocations: 130.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.7134, allocations: 0.4926 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.7134, allocations: 29.7 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.7135, allocations: 167.7 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-06/0.7136, allocations: 3.984 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.7136, allocations: 33.62 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7137, allocations: 338.8 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.319e-05/0.7138, allocations: 55.89 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-05/0.7139, allocations: 85.97 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.714, allocations: 109.9 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.714, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002825/0.7143, allocations: 189.3 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7143, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7143, allocations: 7.938 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.7144, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.7145, allocations: 19.98 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.7145, allocations: 4 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.7146, allocations: 35.67 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.7146, allocations: 8 kB / 1.023 GB, free: 11.91 MB / 0.7794 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.0001611/0.7148, allocations: 249 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.7149, allocations: 136.7 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.761e-05/0.715, allocations: 142.7 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.454e-05/0.715, allocations: 176.3 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.811e-05/0.7151, allocations: 176.3 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.029e-05/0.7152, allocations: 184.1 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.7155, allocations: 497.1 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.611e-05/0.7155, allocations: 104.9 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.7156, allocations: 109 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.494e-05/0.7157, allocations: 176.3 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-05/0.7157, allocations: 192.1 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.302e-05/0.7158, allocations: 176.3 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.874e-05/0.7159, allocations: 184.2 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.7161, allocations: 327.5 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.7162, allocations: 221.7 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/0.7163, allocations: 180.2 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.7164, allocations: 112.9 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.7165, allocations: 180.3 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.7165, allocations: 101 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003912/0.7169, allocations: 367 kB / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.754e-06/0.7169, allocations: 0 / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002887/0.7172, allocations: 27.94 kB / 1.027 GB, free: 7.746 MB / 0.7794 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.0001714/0.7174, allocations: 178.5 kB / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.7176, allocations: 64.23 kB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7176, allocations: 0 / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.7176, allocations: 0 / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/0.7183, allocations: 486.4 kB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.7189, allocations: 483.8 kB / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.7193, allocations: 0.771 MB / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.606e-05/0.7194, allocations: 45.53 kB / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.7194, allocations: 19.44 kB / 1.029 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of SimCode: time 1.81e-07/0.7194, allocations: 0 / 1.029 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.004653/0.7241, allocations: 1.738 MB / 1.031 GB, free: 3.93 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches