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.001464/0.001464, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001226/0.001226, allocations: 195.2 kB / 16.25 MB, free: 6.629 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 68.14 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3795, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002389/0.3819, allocations: 0.8116 MB / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002686/0.3822, allocations: 51.83 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.3823, allocations: 4 kB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.3825, allocations: 15.86 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/0.3825, allocations: 7.984 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.3827, allocations: 23.98 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.3829, allocations: 123.6 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.3832, allocations: 164.2 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.3832, allocations: 63.8 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/0.3833, allocations: 71.64 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.3834, allocations: 12 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.384e-05/0.3834, allocations: 16 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.3835, allocations: 63.83 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.267e-05/0.3836, allocations: 83.42 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3838, allocations: 215.3 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3838, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3838, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3838, allocations: 4 kB / 1.069 GB, free: 9.047 MB / 0.8262 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.0005771/0.3844, allocations: 0.4953 MB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3845, allocations: 12.03 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.3845, allocations: 20.66 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.3848, allocations: 264.6 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3848, allocations: 12.75 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.3849, allocations: 16.38 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.3854, allocations: 349.1 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3854, allocations: 3.938 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.3854, allocations: 4 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/0.3854, allocations: 15.94 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.3858, allocations: 266.5 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.3869, allocations: 1.1 MB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.298e-05/0.387, allocations: 173.1 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.3871, allocations: 80.14 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3871, allocations: 75.28 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.3872, allocations: 106 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3872, allocations: 4 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.811e-05/0.3873, allocations: 61.34 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.3873, allocations: 126.7 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.3878, allocations: 0.4926 MB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.3878, allocations: 25.7 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.388, allocations: 175.7 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.748e-06/0.388, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.388, allocations: 33.64 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3881, allocations: 346.8 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.421e-05/0.3882, allocations: 47.91 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.289e-05/0.3883, allocations: 94.83 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.3885, allocations: 122.7 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3885, allocations: 0 / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002872/0.3888, allocations: 189.2 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3888, allocations: 11.94 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3888, allocations: 0 / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3888, allocations: 4 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3889, allocations: 23.92 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3889, allocations: 0 / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.783e-05/0.389, allocations: 39.69 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.3891, allocations: 12.23 kB / 1.074 GB, free: 3.996 MB / 0.8262 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.0001557/0.3892, allocations: 254.5 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.3893, allocations: 132.5 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.456e-05/0.3894, allocations: 130.8 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.162e-05/0.3894, allocations: 180.2 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.722e-05/0.3895, allocations: 184.2 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-05/0.3896, allocations: 184.2 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.3899, allocations: 497 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/0.3899, allocations: 101 kB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.3899, allocations: 104.9 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-05/0.39, allocations: 184.2 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.3901, allocations: 188.2 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.392e-05/0.3901, allocations: 188.2 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.689e-05/0.3902, allocations: 176.5 kB / 1.076 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.3903, allocations: 327.5 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3905, allocations: 217.7 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.835e-05/0.3906, allocations: 188.2 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3907, allocations: 109 kB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.3907, allocations: 184.2 kB / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.3908, allocations: 101 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003896/0.3912, allocations: 363 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3912, allocations: 0 / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002839/0.3915, allocations: 24 kB / 1.078 GB, free: 15.85 MB / 0.8419 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.0001795/0.3917, allocations: 178.5 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.3918, allocations: 75.83 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3918, allocations: 3.938 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.3918, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.3924, allocations: 489.5 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.393, allocations: 0.507 MB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3933, allocations: 0.7788 MB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.193e-05/0.3934, allocations: 49.52 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.3935, allocations: 15.44 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3935, allocations: 0 / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.00456/0.3981, allocations: 1.734 MB / 1.082 GB, free: 11.98 MB / 0.8419 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