Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0105/0.0105, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.00229/0.002291, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 472.6 MB / 0.7453 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 68.14 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3874, allocations: 159.9 MB / 1.226 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.00222/0.3897, allocations: 0.7511 MB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002848/0.39, allocations: 51.83 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.3901, allocations: 0 / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.3903, allocations: 27.73 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/0.3904, allocations: 7.984 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.3906, allocations: 31.89 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.3908, allocations: 123.7 kB / 1.227 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.3911, allocations: 152.5 kB / 1.227 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3912, allocations: 67.78 kB / 1.227 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3913, allocations: 79.64 kB / 1.227 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.3914, allocations: 8 kB / 1.227 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-05/0.3914, allocations: 12 kB / 1.227 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.728e-05/0.3915, allocations: 55.84 kB / 1.227 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.3916, allocations: 87.42 kB / 1.227 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.3919, allocations: 231 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3919, allocations: 3.938 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3919, allocations: 0 / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.392, allocations: 0 / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007433/0.3927, allocations: 0.5104 MB / 1.228 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3928, allocations: 8.031 kB / 1.228 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.79e-05/0.3928, allocations: 24.8 kB / 1.228 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.3931, allocations: 256 kB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.3932, allocations: 8.75 kB / 1.228 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.3932, allocations: 16.38 kB / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.3938, allocations: 341.2 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3938, allocations: 7.875 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.3938, allocations: 16 kB / 1.228 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-05/0.3939, allocations: 12 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.3943, allocations: 266.6 kB / 1.229 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.3957, allocations: 1.092 MB / 1.23 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3958, allocations: 173.1 kB / 1.23 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.3958, allocations: 80.14 kB / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.3959, allocations: 79.28 kB / 1.23 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.3959, allocations: 110 kB / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3959, allocations: 0 / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001954/0.3961, allocations: 61.44 kB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.3962, allocations: 138.6 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006641/0.3969, allocations: 0.4887 MB / 1.231 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3969, allocations: 25.7 kB / 1.231 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.397, allocations: 179.8 kB / 1.231 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-06/0.3971, allocations: 0 / 1.231 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/0.3971, allocations: 29.7 kB / 1.231 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002341/0.3974, allocations: 338.8 kB / 1.231 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.3975, allocations: 55.95 kB / 1.231 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3976, allocations: 98.83 kB / 1.232 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.3977, allocations: 122.6 kB / 1.232 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3977, allocations: 0 / 1.232 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003933/0.3981, allocations: 201.3 kB / 1.232 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3981, allocations: 7.938 kB / 1.232 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3982, allocations: 4.156 kB / 1.232 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3982, allocations: 0 / 1.232 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3983, allocations: 19.98 kB / 1.232 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.3983, allocations: 7.984 kB / 1.232 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3984, allocations: 31.78 kB / 1.232 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.3985, allocations: 11.98 kB / 1.232 GB, free: 2.391 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.000199/0.3987, allocations: 253.7 kB / 1.232 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.97e-05/0.3988, allocations: 132.7 kB / 1.232 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.471e-05/0.3989, allocations: 134.8 kB / 1.232 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.042e-05/0.3989, allocations: 188.2 kB / 1.233 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-05/0.399, allocations: 180.2 kB / 1.233 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.651e-05/0.3991, allocations: 184.2 kB / 1.233 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.3994, allocations: 493.1 kB / 1.233 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.203e-05/0.3995, allocations: 105 kB / 1.234 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.3996, allocations: 104.9 kB / 1.234 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001353/0.3997, allocations: 180.2 kB / 1.234 GB, free: 360 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-05/0.3998, allocations: 180.2 kB / 1.234 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001572/0.3999, allocations: 192.2 kB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8e-05/0.4, allocations: 180.4 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.4004, allocations: 323.7 kB / 1.235 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.4006, allocations: 221.8 kB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.4008, allocations: 180.2 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.4009, allocations: 120.9 kB / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.401, allocations: 176.3 kB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.4011, allocations: 109 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004159/0.4015, allocations: 359 kB / 1.236 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4015, allocations: 0 / 1.236 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003488/0.4019, allocations: 28 kB / 1.236 GB, free: 14.23 MB / 0.9981 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.0002274/0.4021, allocations: 182.5 kB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.4023, allocations: 71.89 kB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4023, allocations: 0 / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.4023, allocations: 0 / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007307/0.403, allocations: 485.5 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/0.4038, allocations: 481 kB / 1.237 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.4042, allocations: 0.7749 MB / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001946/0.4044, allocations: 49.52 kB / 1.238 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.4045, allocations: 15.44 kB / 1.238 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.4045, allocations: 4 kB / 1.238 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of Templates: time 0.006417/0.4109, allocations: 1.756 MB / 1.239 GB, free: 10.38 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches