Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01113/0.01113, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.576/1.576, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.89 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378/1.38, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.002198/1.382, allocations: 0.7551 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002651/1.382, allocations: 51.73 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/1.382, allocations: 2.156 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/1.382, allocations: 20.86 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.708e-05/1.382, allocations: 12.06 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/1.383, allocations: 31.92 kB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/1.383, allocations: 117.9 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/1.383, allocations: 157.1 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.85e-05/1.383, allocations: 67.47 kB / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/1.383, allocations: 72.52 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/1.383, allocations: 11.62 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.084e-05/1.384, allocations: 11.69 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/1.384, allocations: 54.09 kB / 1.089 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/1.384, allocations: 85.64 kB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003524/1.384, allocations: 240.7 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/1.384, allocations: 0 / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.805e-06/1.384, allocations: 0 / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.806e-06/1.384, allocations: 5.219 kB / 1.09 GB, free: 4.645 MB / 0.8575 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.0006543/1.385, allocations: 496.2 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.385, allocations: 9.438 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/1.385, allocations: 28.61 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/1.385, allocations: 249.7 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/1.385, allocations: 11.91 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/1.385, allocations: 19.69 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006399/1.386, allocations: 339.9 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/1.386, allocations: 3.938 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/1.386, allocations: 6.25 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/1.386, allocations: 12.47 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/1.387, allocations: 260.5 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/1.388, allocations: 1.09 MB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.644e-05/1.388, allocations: 178.6 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/1.388, allocations: 84.73 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/1.388, allocations: 76.06 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/1.388, allocations: 111.2 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.913e-06/1.388, allocations: 0 / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001142/1.388, allocations: 53.36 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/1.388, allocations: 131.3 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000771/1.389, allocations: 0.4944 MB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/1.389, allocations: 25.7 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/1.389, allocations: 169.8 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.73e-06/1.389, allocations: 1.234 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/1.389, allocations: 37.52 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/1.389, allocations: 340.5 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.923e-05/1.39, allocations: 48.47 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/1.39, allocations: 87.59 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/1.39, allocations: 109.5 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.39, allocations: 4 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003809/1.39, allocations: 184.4 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.39, allocations: 9.641 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.39, allocations: 5.375 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/1.39, allocations: 6.078 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/1.39, allocations: 23.25 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.39, allocations: 6.328 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/1.391, allocations: 35.98 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/1.391, allocations: 7.469 kB / 1.094 GB, free: 1.395 MB / 0.8575 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.0001632/1.391, allocations: 249.5 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/1.391, allocations: 128.3 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/1.391, allocations: 140.2 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/1.391, allocations: 181.9 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.399e-05/1.391, allocations: 181.6 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-05/1.391, allocations: 178.5 kB / 1.095 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/1.391, allocations: 492.3 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.046e-05/1.392, allocations: 107 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/1.392, allocations: 102.9 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-05/1.392, allocations: 182.5 kB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/1.392, allocations: 184.9 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.415e-05/1.392, allocations: 190.2 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.823e-05/1.392, allocations: 181.8 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/1.392, allocations: 326.7 kB / 1.097 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/1.392, allocations: 211.8 kB / 1.097 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/1.392, allocations: 191.2 kB / 1.097 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/1.393, allocations: 109.2 kB / 1.097 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/1.393, allocations: 178.1 kB / 1.098 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.6e-05/1.393, allocations: 107 kB / 1.098 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005216/1.393, allocations: 363.8 kB / 1.098 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.393, allocations: 0 / 1.098 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003334/1.394, allocations: 24.77 kB / 1.098 GB, free: 13.7 MB / 0.8731 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.0002111/1.394, allocations: 177.7 kB / 1.098 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000191/1.394, allocations: 67.67 kB / 1.098 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.394, allocations: 0 / 1.098 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/1.394, allocations: 1.859 kB / 1.098 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/1.395, allocations: 487.8 kB / 1.099 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/1.395, allocations: 482.7 kB / 1.099 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/1.396, allocations: 0.7712 MB / 1.1 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001198/1.396, allocations: 49.16 kB / 1.1 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/1.396, allocations: 16.95 kB / 1.1 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/1.396, allocations: 4 kB / 1.1 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of Templates: time 0.005934/1.402, allocations: 1.747 MB / 1.102 GB, free: 11.91 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches