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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008679/0.008679, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.002546/0.002546, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.825/2.825, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 71.88 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4063, allocations: 157.4 MB / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002072/0.4084, allocations: 0.7411 MB / 1.209 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002389/0.4086, allocations: 51.83 kB / 1.209 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.4087, allocations: 7.938 kB / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.4089, allocations: 11.88 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-05/0.409, allocations: 19.91 kB / 1.209 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.4092, allocations: 25.66 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.4094, allocations: 127.6 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.4096, allocations: 160.5 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.4097, allocations: 67.78 kB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.4099, allocations: 75.64 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.4099, allocations: 12 kB / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.882e-05/0.4099, allocations: 8 kB / 1.209 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.41, allocations: 51.86 kB / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.4101, allocations: 83.42 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.4105, allocations: 239.1 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4105, allocations: 4 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4105, allocations: 0 / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.4105, allocations: 0 / 1.209 GB, free: 7.898 MB / 0.9669 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.0006835/0.4112, allocations: 0.4911 MB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4112, allocations: 8.625 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.4113, allocations: 24.66 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.4116, allocations: 249.2 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.4117, allocations: 12.75 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.4117, allocations: 24.36 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.4122, allocations: 341.1 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4122, allocations: 3.938 kB / 1.211 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.4123, allocations: 8 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.4123, allocations: 12 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.4127, allocations: 267.8 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.4142, allocations: 1.08 MB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.4143, allocations: 177.1 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.4144, allocations: 80.14 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.4144, allocations: 75.28 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.4145, allocations: 117.8 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 3.216e-06/0.4145, allocations: 0 / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001052/0.4146, allocations: 57.42 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.4147, allocations: 130.7 kB / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/0.4153, allocations: 0.4887 MB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.4153, allocations: 25.7 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.4155, allocations: 171.8 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-06/0.4155, allocations: 7.984 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.4155, allocations: 29.7 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4157, allocations: 342.8 kB / 1.213 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.4158, allocations: 43.97 kB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-05/0.4159, allocations: 93.95 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.416, allocations: 105.8 kB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.416, allocations: 7.938 kB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004074/0.4164, allocations: 185.1 kB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4165, allocations: 11.98 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4165, allocations: 3.938 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4165, allocations: 4 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4166, allocations: 23.92 kB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4166, allocations: 4 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.4167, allocations: 31.69 kB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.4168, allocations: 8.219 kB / 1.214 GB, free: 2.914 MB / 0.9669 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.0002017/0.417, allocations: 253.1 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.744e-05/0.4171, allocations: 128.6 kB / 1.214 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.533e-05/0.4172, allocations: 134.8 kB / 1.214 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002318/0.4174, allocations: 180.2 kB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.288e-05/0.4175, allocations: 184.3 kB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/0.4176, allocations: 184.3 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.418, allocations: 493 kB / 1.215 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.776e-05/0.4181, allocations: 105 kB / 1.216 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.4182, allocations: 105.4 kB / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.4183, allocations: 176.3 kB / 1.216 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.4185, allocations: 192.2 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.279e-05/0.4186, allocations: 180.2 kB / 1.216 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.679e-05/0.4187, allocations: 176.5 kB / 1.216 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.4189, allocations: 331.5 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.4191, allocations: 213.8 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.4193, allocations: 192.1 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.4194, allocations: 109 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.4195, allocations: 180.2 kB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.4195, allocations: 105 kB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004342/0.42, allocations: 363 kB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.31e-07/0.42, allocations: 0 / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003093/0.4203, allocations: 24 kB / 1.218 GB, free: 14.77 MB / 0.9825 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.000205/0.4205, allocations: 182.5 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.4207, allocations: 67.89 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4207, allocations: 0 / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.4207, allocations: 3.938 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.4213, allocations: 489.2 kB / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.422, allocations: 479.2 kB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.4226, allocations: 0.771 MB / 1.22 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.4227, allocations: 49.53 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.4228, allocations: 15.44 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4228, allocations: 0 / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.005041/0.4278, allocations: 1.79 MB / 1.222 GB, free: 10.89 MB / 0.9825 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 -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/jenkins/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