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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009927/0.0009925, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001122/0.001122, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.891/2.891, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005279/0.000528, allocations: 11.53 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4066, allocations: 159.6 MB / 1.058 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.0008732/0.4075, allocations: 460.5 kB / 1.058 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002197/0.4077, allocations: 55.83 kB / 1.059 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.4078, allocations: 0 / 1.059 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.4079, allocations: 15.86 kB / 1.059 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.408, allocations: 15.92 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.4082, allocations: 23.97 kB / 1.059 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.4084, allocations: 139.6 kB / 1.059 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.4087, allocations: 135 kB / 1.059 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.4088, allocations: 35.86 kB / 1.059 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.4089, allocations: 47.66 kB / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.409, allocations: 7.938 kB / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.409, allocations: 0 / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.4091, allocations: 35.84 kB / 1.059 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.4091, allocations: 53.58 kB / 1.059 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.4094, allocations: 171.7 kB / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4094, allocations: 0 / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4094, allocations: 0 / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.4094, allocations: 4 kB / 1.059 GB, free: 4.094 MB / 0.8106 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.0007067/0.4101, allocations: 455.3 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.4102, allocations: 8.031 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.087e-05/0.4103, allocations: 23.72 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.4106, allocations: 254.5 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.4107, allocations: 16.38 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.4107, allocations: 23.94 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.4114, allocations: 344.5 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4114, allocations: 0 / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.4114, allocations: 4 kB / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/0.4115, allocations: 20.19 kB / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.4119, allocations: 268.3 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.4133, allocations: 1.085 MB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.72e-05/0.4134, allocations: 169.1 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.4135, allocations: 80.14 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.4135, allocations: 75.28 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.4135, allocations: 113.8 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.4136, allocations: 4 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001123/0.4137, allocations: 53.34 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.4137, allocations: 130.7 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.4143, allocations: 0.4886 MB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.4143, allocations: 33.69 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.4144, allocations: 175.7 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-06/0.4144, allocations: 0 / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.4145, allocations: 4 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0004083/0.4149, allocations: 346.8 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.866e-05/0.4149, allocations: 47.95 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.735e-05/0.4151, allocations: 98.83 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.4152, allocations: 63.91 kB / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4153, allocations: 0 / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003263/0.4156, allocations: 193.1 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4156, allocations: 4 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4156, allocations: 8.25 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4156, allocations: 7.922 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.4158, allocations: 19.98 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4158, allocations: 4 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.4159, allocations: 39.67 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.4159, allocations: 4.156 kB / 1.064 GB, free: 15.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.4161, allocations: 253 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.4162, allocations: 132.6 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.983e-05/0.4163, allocations: 134.8 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-05/0.4164, allocations: 184.2 kB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.9e-05/0.4165, allocations: 180.2 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.183e-05/0.4165, allocations: 180.2 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.4169, allocations: 497.1 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.051e-05/0.4169, allocations: 105 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.4169, allocations: 108.9 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-05/0.417, allocations: 176.3 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.781e-05/0.4171, allocations: 180.2 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.086e-05/0.4172, allocations: 184.3 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.237e-05/0.4173, allocations: 192.2 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.4174, allocations: 323.7 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.4176, allocations: 241.8 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.4177, allocations: 176.3 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.4178, allocations: 108.9 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.4179, allocations: 180.3 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.4179, allocations: 101 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003861/0.4183, allocations: 367 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4183, allocations: 3.938 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003294/0.4187, allocations: 24 kB / 1.068 GB, free: 11.06 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002712/0.4189, allocations: 182.5 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.4191, allocations: 71.95 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4191, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.389e-06/0.4191, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000749/0.4199, allocations: 0.5448 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008067/0.4207, allocations: 497.2 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.4213, allocations: 0.7752 MB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.4214, allocations: 49.52 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.4215, allocations: 15.44 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of SimCode: time 4.028e-06/0.4215, allocations: 4 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of Templates: time 0.005417/0.4269, allocations: 1.591 MB / 1.071 GB, free: 7.293 MB / 0.8262 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