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.001109/0.001109, allocations: 110.7 kB / 16.41 MB, free: 6.5 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.001146/0.001146, allocations: 185.6 kB / 17.34 MB, free: 5.758 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.45/2.45, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.91 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7503/0.7517, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001784/0.7535, allocations: 0.7428 MB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002169/0.7538, allocations: 55.83 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.7538, allocations: 7.938 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.754, allocations: 11.86 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-05/0.754, allocations: 19.91 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.7542, allocations: 27.97 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.7544, allocations: 123.7 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.7546, allocations: 160.5 kB / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.032e-05/0.7547, allocations: 67.8 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.7548, allocations: 71.64 kB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.7548, allocations: 12 kB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.904e-05/0.7548, allocations: 15.94 kB / 1.21 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.7549, allocations: 51.84 kB / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.755, allocations: 83.42 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.7552, allocations: 235.2 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.7552, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7552, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.7553, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 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.0005173/0.7558, allocations: 0.4929 MB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.7558, allocations: 11.97 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.7559, allocations: 24.66 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.7561, allocations: 245.2 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.7561, allocations: 12.75 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.7562, allocations: 28.36 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.7566, allocations: 345.1 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.7566, allocations: 3.938 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.7567, allocations: 4 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.7567, allocations: 15.98 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.757, allocations: 259.8 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.7581, allocations: 1.084 MB / 1.213 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.821e-05/0.7582, allocations: 169.1 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.7582, allocations: 88.17 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.7583, allocations: 79.28 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.7583, allocations: 109.8 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.7583, allocations: 0 / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.112e-05/0.7584, allocations: 61.39 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.7585, allocations: 130.7 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.759, allocations: 0.4887 MB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.759, allocations: 25.7 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.7591, allocations: 171.8 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.7591, allocations: 0 / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.7592, allocations: 29.7 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7593, allocations: 342.8 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.307e-05/0.7594, allocations: 51.94 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/0.7595, allocations: 89.97 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.7596, allocations: 109.8 kB / 1.214 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7596, allocations: 4 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002659/0.7599, allocations: 185.1 kB / 1.215 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.7599, allocations: 8 kB / 1.215 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7599, allocations: 3.938 kB / 1.215 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.7599, allocations: 4 kB / 1.215 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.76, allocations: 23.92 kB / 1.215 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.7601, allocations: 0 / 1.215 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.811e-05/0.7602, allocations: 43.8 kB / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.7602, allocations: 12 kB / 1.215 GB, free: 6.961 MB / 0.9356 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.0001462/0.7603, allocations: 245.1 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.7604, allocations: 128.6 kB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-05/0.7605, allocations: 134.8 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.987e-05/0.7605, allocations: 184.2 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.396e-05/0.7606, allocations: 188.2 kB / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.177e-05/0.7607, allocations: 176.3 kB / 1.216 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.761, allocations: 493 kB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/0.761, allocations: 101 kB / 1.216 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.7611, allocations: 101 kB / 1.216 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.978e-05/0.7611, allocations: 188.2 kB / 1.217 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/0.7612, allocations: 188.2 kB / 1.217 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.815e-05/0.7613, allocations: 184.2 kB / 1.217 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.482e-05/0.7613, allocations: 176.3 kB / 1.217 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.7615, allocations: 327.5 kB / 1.217 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.7616, allocations: 217.8 kB / 1.218 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.7617, allocations: 192.1 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.7618, allocations: 105 kB / 1.218 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.7618, allocations: 180.2 kB / 1.218 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.7619, allocations: 101.3 kB / 1.218 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003414/0.7622, allocations: 367 kB / 1.218 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7622, allocations: 3.938 kB / 1.218 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002552/0.7625, allocations: 28 kB / 1.219 GB, free: 2.82 MB / 0.9356 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.0001432/0.7626, allocations: 174.5 kB / 1.219 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.7628, allocations: 63.89 kB / 1.219 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7628, allocations: 4 kB / 1.219 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.7628, allocations: 0 / 1.219 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.7633, allocations: 485.1 kB / 1.219 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.7638, allocations: 0.4954 MB / 1.22 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.7641, allocations: 0.7749 MB / 1.22 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.7642, allocations: 27.42 kB / 1.22 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.7642, allocations: 0 / 1.22 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of Templates: time 0.004029/0.7682, allocations: 2.646 MB / 1.223 GB, free: 14.09 MB / 0.9512 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/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