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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 186.9 kB / 22.23 MB, free: 5.094 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.886/2.886, allocations: 443.4 MB / 0.7322 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.89 kB / 1.062 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9287/0.9308, allocations: 160.8 MB / 1.219 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002989/0.9337, allocations: 0.7457 MB / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003623/0.9341, allocations: 56.33 kB / 1.219 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.9342, allocations: 5.156 kB / 1.219 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.9344, allocations: 14.77 kB / 1.219 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.015e-05/0.9345, allocations: 11.36 kB / 1.219 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.9347, allocations: 36.72 kB / 1.219 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.935, allocations: 126.6 kB / 1.219 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.9353, allocations: 88.39 kB / 1.22 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.9354, allocations: 71.14 kB / 1.22 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.9356, allocations: 77.11 kB / 1.22 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.9356, allocations: 12.44 kB / 1.22 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/0.9357, allocations: 15.66 kB / 1.22 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.9358, allocations: 48.3 kB / 1.22 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.9359, allocations: 84.55 kB / 1.22 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.9363, allocations: 248.1 kB / 1.22 GB, free: 2.617 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9363, allocations: 1.219 kB / 1.22 GB, free: 2.617 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9363, allocations: 0 / 1.22 GB, free: 2.617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.9363, allocations: 0 / 1.22 GB, free: 2.617 MB / 0.92 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.0009025/0.9372, allocations: 0.4994 MB / 1.221 GB, free: 2.133 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.9373, allocations: 9.25 kB / 1.221 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.986e-05/0.9374, allocations: 24.67 kB / 1.221 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.9378, allocations: 264.6 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.9378, allocations: 12.62 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.9379, allocations: 23.56 kB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.9385, allocations: 334.5 kB / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.9385, allocations: 5.156 kB / 1.221 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.9385, allocations: 5.188 kB / 1.221 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.9386, allocations: 15.17 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.939, allocations: 263.5 kB / 1.222 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.9406, allocations: 1.083 MB / 1.223 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.9407, allocations: 174.3 kB / 1.223 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.9408, allocations: 84.95 kB / 1.223 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.098e-05/0.9408, allocations: 79.28 kB / 1.223 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.9409, allocations: 107 kB / 1.223 GB, free: 260 kB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.9409, allocations: 0 / 1.223 GB, free: 260 kB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001547/0.941, allocations: 53.22 kB / 1.223 GB, free: 212 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.9411, allocations: 126.7 kB / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000758/0.9419, allocations: 0.497 MB / 1.224 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.9419, allocations: 25.7 kB / 1.224 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.9421, allocations: 172.6 kB / 1.224 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.9421, allocations: 1.094 kB / 1.224 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.9421, allocations: 30.14 kB / 1.224 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002507/0.9424, allocations: 339.7 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.9425, allocations: 54.42 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.9427, allocations: 88.33 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.9428, allocations: 109.3 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.9428, allocations: 4 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004263/0.9432, allocations: 191.7 kB / 1.225 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.9433, allocations: 5.125 kB / 1.225 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.9433, allocations: 5.906 kB / 1.225 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.9433, allocations: 2.25 kB / 1.225 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.9434, allocations: 23.8 kB / 1.225 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.9434, allocations: 2.062 kB / 1.225 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.9435, allocations: 37.72 kB / 1.225 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.9436, allocations: 10.58 kB / 1.225 GB, free: 14.93 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.0002105/0.9438, allocations: 249.5 kB / 1.225 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.9439, allocations: 127.7 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.944, allocations: 135.8 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.502e-05/0.9441, allocations: 180.2 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.132e-05/0.9442, allocations: 189.6 kB / 1.226 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001/0.9443, allocations: 181.6 kB / 1.226 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.9447, allocations: 489.5 kB / 1.226 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-05/0.9447, allocations: 101 kB / 1.226 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/0.9448, allocations: 110.3 kB / 1.226 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.169e-05/0.9449, allocations: 177.7 kB / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.945, allocations: 192.1 kB / 1.227 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.778e-05/0.9451, allocations: 181.5 kB / 1.227 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.351e-05/0.9452, allocations: 185.2 kB / 1.227 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.9455, allocations: 321.6 kB / 1.227 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.9457, allocations: 219.2 kB / 1.228 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.9458, allocations: 186.6 kB / 1.228 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.946, allocations: 112.8 kB / 1.228 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.9461, allocations: 177.8 kB / 1.228 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.9462, allocations: 101.3 kB / 1.228 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004526/0.9467, allocations: 362.1 kB / 1.228 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9467, allocations: 4 kB / 1.229 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002871/0.947, allocations: 24.5 kB / 1.229 GB, free: 11.12 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.0001911/0.9472, allocations: 180.8 kB / 1.229 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.9474, allocations: 67.08 kB / 1.229 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9474, allocations: 0 / 1.229 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.9474, allocations: 0 / 1.229 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.948, allocations: 488.9 kB / 1.229 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007199/0.9488, allocations: 487 kB / 1.23 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.9492, allocations: 0.776 MB / 1.23 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.822e-05/0.9493, allocations: 50.39 kB / 1.23 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.9494, allocations: 21.2 kB / 1.231 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.9494, allocations: 0 / 1.231 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of Templates: time 0.005313/0.9547, allocations: 1.788 MB / 1.232 GB, free: 8.512 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.344132550992072]