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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00122/0.00122, allocations: 104.1 kB / 16.37 MB, free: 6.473 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.00121/0.00121, allocations: 192.5 kB / 17.31 MB, free: 5.824 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.59 kB / 0.8774 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3525, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00256/0.3552, allocations: 0.7513 MB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002616/0.3555, allocations: 55.83 kB / 1.028 GB, free: 1.273 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.3555, allocations: 7.938 kB / 1.028 GB, free: 1.266 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.3557, allocations: 15.86 kB / 1.028 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.3558, allocations: 11.92 kB / 1.028 GB, free: 1.238 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.356, allocations: 19.98 kB / 1.028 GB, free: 1.219 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.3562, allocations: 123.7 kB / 1.028 GB, free: 1.098 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.3565, allocations: 160.4 kB / 1.028 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.643e-05/0.3566, allocations: 67.78 kB / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.878e-05/0.3567, allocations: 75.64 kB / 1.028 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.3567, allocations: 8 kB / 1.028 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.791e-05/0.3568, allocations: 16 kB / 1.028 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3569, allocations: 59.84 kB / 1.028 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.357, allocations: 83.42 kB / 1.028 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.3573, allocations: 235.1 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3573, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3573, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3573, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 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.000644/0.358, allocations: 499 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.358, allocations: 8.031 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/0.3581, allocations: 28.66 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.3585, allocations: 260.8 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3585, allocations: 12.75 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.3585, allocations: 16.38 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.359, allocations: 333.1 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.359, allocations: 7.922 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.3591, allocations: 15.98 kB / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.3591, allocations: 19.98 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.3595, allocations: 259.8 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.3608, allocations: 1.08 MB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.836e-05/0.3609, allocations: 165.1 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.3609, allocations: 84.14 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.361, allocations: 75.28 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.361, allocations: 117.8 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.361, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.989e-05/0.3611, allocations: 53.48 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.3612, allocations: 126.7 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.3617, allocations: 0.5042 MB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.3618, allocations: 25.7 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3619, allocations: 167.8 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.3619, allocations: 3.938 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.362, allocations: 29.7 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3621, allocations: 334.8 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.3622, allocations: 55.95 kB / 1.033 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/0.3623, allocations: 89.98 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3624, allocations: 109.8 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3624, allocations: 0 / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002753/0.3627, allocations: 185.2 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3627, allocations: 4 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.3627, allocations: 7.938 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3628, allocations: 4.219 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3629, allocations: 23.92 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3629, allocations: 4 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.363, allocations: 31.69 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.363, allocations: 12.14 kB / 1.033 GB, free: 11.43 MB / 0.8106 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.0001492/0.3632, allocations: 245.1 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.3632, allocations: 132.5 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.3633, allocations: 138.8 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.893e-05/0.3634, allocations: 180.3 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.788e-05/0.3635, allocations: 180.2 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.897e-05/0.3635, allocations: 188.3 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.3638, allocations: 497 kB / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/0.3639, allocations: 101 kB / 1.035 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.3639, allocations: 108.9 kB / 1.035 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.603e-05/0.364, allocations: 176.3 kB / 1.035 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.364, allocations: 184.2 kB / 1.035 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.379e-05/0.3641, allocations: 180.2 kB / 1.035 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.007e-05/0.3642, allocations: 184.2 kB / 1.035 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.3643, allocations: 327.5 kB / 1.036 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.3645, allocations: 218.1 kB / 1.036 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.3646, allocations: 184.1 kB / 1.036 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3647, allocations: 113 kB / 1.036 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.3648, allocations: 184.2 kB / 1.036 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.3648, allocations: 109 kB / 1.036 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003562/0.3652, allocations: 363 kB / 1.037 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.593e-06/0.3652, allocations: 3.938 kB / 1.037 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002685/0.3654, allocations: 27.94 kB / 1.037 GB, free: 7.266 MB / 0.8106 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.0001743/0.3656, allocations: 174.5 kB / 1.037 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.3658, allocations: 64.27 kB / 1.037 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3658, allocations: 4.062 kB / 1.037 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.015e-06/0.3658, allocations: 3.938 kB / 1.037 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.3664, allocations: 484.8 kB / 1.037 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.3669, allocations: 463.2 kB / 1.038 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3672, allocations: 0.7788 MB / 1.039 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.854e-05/0.3673, allocations: 45.53 kB / 1.039 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.3674, allocations: 19.42 kB / 1.039 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3674, allocations: 0 / 1.039 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of Templates: time 0.004324/0.3717, allocations: 1.741 MB / 1.04 GB, free: 3.457 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) 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) Reference file matches