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.001258/0.001259, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 68.05 kB / 0.9121 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3756, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002041/0.3777, allocations: 0.74 MB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002359/0.378, allocations: 55.83 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.378, allocations: 7.938 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.3782, allocations: 15.86 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.3782, allocations: 15.92 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.3784, allocations: 23.97 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.3786, allocations: 127.7 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.3788, allocations: 164.2 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.334e-05/0.3789, allocations: 59.8 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.379, allocations: 75.64 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.3791, allocations: 12 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.934e-05/0.3791, allocations: 15.94 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.3792, allocations: 55.84 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.408e-05/0.3793, allocations: 87.41 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.3795, allocations: 223.3 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3795, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3795, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.3795, allocations: 0 / 1.07 GB, free: 8.691 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.0005512/0.3801, allocations: 499.3 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3801, allocations: 15.97 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.3802, allocations: 20.66 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.3805, allocations: 264.8 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.3805, allocations: 12.75 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.3805, allocations: 24.38 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.381, allocations: 341.1 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.381, allocations: 3.938 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.381, allocations: 4 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.3811, allocations: 12 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.3814, allocations: 269.5 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3826, allocations: 1.092 MB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.416e-05/0.3827, allocations: 173.1 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.3828, allocations: 82.31 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.3828, allocations: 83.28 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.3829, allocations: 106 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.3829, allocations: 0 / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001052/0.383, allocations: 57.3 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.3831, allocations: 130.7 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.3836, allocations: 0.4926 MB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3836, allocations: 25.7 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.3838, allocations: 175.7 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-06/0.3838, allocations: 3.984 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.3838, allocations: 25.72 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.384, allocations: 342.8 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-05/0.3841, allocations: 47.95 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3842, allocations: 102.8 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3844, allocations: 118.7 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3844, allocations: 4 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003118/0.3847, allocations: 193.1 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3847, allocations: 11.94 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3847, allocations: 0 / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3847, allocations: 4 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3849, allocations: 24.23 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3849, allocations: 4 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.385, allocations: 31.69 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.385, allocations: 8 kB / 1.074 GB, free: 3.656 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.0001867/0.3852, allocations: 253 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3853, allocations: 132.5 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.755e-05/0.3854, allocations: 138.8 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.946e-05/0.3855, allocations: 180.3 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.86e-05/0.3855, allocations: 176.3 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.903e-05/0.3856, allocations: 192.2 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.386, allocations: 489.2 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-05/0.386, allocations: 108.9 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.3861, allocations: 108.9 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.03e-05/0.3862, allocations: 184.2 kB / 1.076 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/0.3863, allocations: 184.2 kB / 1.077 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.86e-05/0.3863, allocations: 176.3 kB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.015e-05/0.3864, allocations: 184.2 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.3866, allocations: 327.5 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.3867, allocations: 218 kB / 1.077 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3869, allocations: 180.2 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.387, allocations: 109 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.3871, allocations: 188.3 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.3871, allocations: 101 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003622/0.3875, allocations: 367 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3875, allocations: 3.938 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002964/0.3878, allocations: 28 kB / 1.078 GB, free: 15.5 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.0001639/0.388, allocations: 175 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.3881, allocations: 67.89 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3881, allocations: 0.5 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.3881, allocations: 4 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.3887, allocations: 487 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.3893, allocations: 483.2 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3896, allocations: 0.7749 MB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.104e-05/0.3897, allocations: 49.52 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.3897, allocations: 27.38 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3898, allocations: 0 / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Templates: time 0.004552/0.3943, allocations: 1.727 MB / 1.082 GB, free: 11.68 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