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.01007/0.01007, allocations: 99.84 kB / 15.73 MB, free: 6.023 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.001871/0.001871, allocations: 199.8 kB / 16.68 MB, free: 5.938 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.486/2.486, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.001901, allocations: 59.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002701/1.013, allocations: 0.7534 MB / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002797/1.013, allocations: 51.83 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/1.013, allocations: 3.938 kB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/1.013, allocations: 15.88 kB / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/1.013, allocations: 19.91 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002/1.013, allocations: 23.97 kB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000217/1.014, allocations: 127.6 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/1.014, allocations: 156.5 kB / 1.168 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/1.014, allocations: 63.78 kB / 1.168 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/1.014, allocations: 79.64 kB / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/1.014, allocations: 8 kB / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.736e-05/1.014, allocations: 16 kB / 1.168 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.023e-05/1.014, allocations: 51.86 kB / 1.168 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/1.015, allocations: 83.42 kB / 1.168 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/1.015, allocations: 243.5 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/1.015, allocations: 0 / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.744e-06/1.015, allocations: 0 / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.015, allocations: 0 / 1.168 GB, free: 2.195 MB / 0.8887 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.0008112/1.016, allocations: 0.4949 MB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.016, allocations: 8.922 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.504e-05/1.016, allocations: 24.8 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/1.016, allocations: 263.9 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/1.016, allocations: 12.75 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/1.016, allocations: 28.3 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/1.017, allocations: 329.2 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/1.017, allocations: 3.938 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/1.017, allocations: 12 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/1.017, allocations: 12 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/1.017, allocations: 263.8 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/1.019, allocations: 1.084 MB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/1.019, allocations: 169.1 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/1.019, allocations: 88.17 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/1.019, allocations: 79.28 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/1.019, allocations: 113.8 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.482e-06/1.019, allocations: 0 / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001113/1.019, allocations: 52.12 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/1.019, allocations: 126.7 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/1.02, allocations: 0.4965 MB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/1.02, allocations: 25.7 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/1.02, allocations: 175.9 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-06/1.02, allocations: 0 / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/1.02, allocations: 29.7 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.02, allocations: 338.8 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/1.02, allocations: 47.97 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-05/1.02, allocations: 101.9 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/1.02, allocations: 105.9 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.02, allocations: 4 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003083/1.021, allocations: 189.3 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.021, allocations: 4 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.021, allocations: 7.938 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.021, allocations: 3.938 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/1.021, allocations: 19.98 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.021, allocations: 7.938 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/1.021, allocations: 40 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/1.021, allocations: 8 kB / 1.173 GB, free: 13.2 MB / 0.9044 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.0001743/1.021, allocations: 249.1 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.942e-05/1.021, allocations: 132.7 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-05/1.022, allocations: 134.8 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/1.022, allocations: 180.2 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.928e-05/1.022, allocations: 184.2 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.637e-05/1.022, allocations: 184.3 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/1.022, allocations: 493 kB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-05/1.022, allocations: 105 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/1.022, allocations: 104.9 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.899e-05/1.022, allocations: 176.3 kB / 1.175 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.606e-05/1.022, allocations: 188.2 kB / 1.175 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.487e-05/1.022, allocations: 188.2 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.235e-05/1.022, allocations: 176.3 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/1.023, allocations: 323.6 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/1.023, allocations: 225.9 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.025e-05/1.023, allocations: 180.2 kB / 1.176 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/1.023, allocations: 112.9 kB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/1.023, allocations: 188.2 kB / 1.176 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/1.023, allocations: 101.3 kB / 1.176 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003625/1.024, allocations: 363 kB / 1.177 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.024, allocations: 4 kB / 1.177 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002897/1.024, allocations: 24 kB / 1.177 GB, free: 9.031 MB / 0.9044 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.0001748/1.024, allocations: 170.5 kB / 1.177 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001546/1.024, allocations: 63.89 kB / 1.177 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.024, allocations: 3.938 kB / 1.177 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/1.024, allocations: 4 kB / 1.177 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/1.025, allocations: 491.9 kB / 1.177 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/1.025, allocations: 474.9 kB / 1.178 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/1.026, allocations: 0.7827 MB / 1.179 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.158e-05/1.026, allocations: 45.53 kB / 1.179 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/1.026, allocations: 15.44 kB / 1.179 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/1.026, allocations: 0 / 1.179 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of Templates: time 0.004923/1.031, allocations: 1.745 MB / 1.18 GB, free: 5.211 MB / 0.9044 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