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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008313/0.0008313, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007792/0.0007792, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8593/0.8593, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.79/1.79, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.201e-05, allocations: 6.219 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001525/0.001557, allocations: 0.7183 MB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002192/0.001776, allocations: 51.88 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.00182, allocations: 11.88 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.001957, allocations: 23.8 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.002005, allocations: 11.92 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.00215, allocations: 31.94 kB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.002304, allocations: 123.6 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.002476, allocations: 84.84 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.002555, allocations: 95.84 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.002628, allocations: 71.81 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.002661, allocations: 12 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.899e-05/0.00268, allocations: 12 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.002737, allocations: 51.84 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.002786, allocations: 55.83 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.002978, allocations: 231.2 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00298, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.202e-06/0.002981, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.002986, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 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.0004035/0.00339, allocations: 441.6 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.003423, allocations: 8.031 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.003468, allocations: 28.75 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.00366, allocations: 189.4 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.003675, allocations: 12.75 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.003699, allocations: 20.36 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.004034, allocations: 337.6 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.004045, allocations: 192 / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.004064, allocations: 12.38 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.004091, allocations: 20.06 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.004314, allocations: 267.8 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007337/0.005048, allocations: 0.9255 MB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.145e-05/0.005109, allocations: 169.1 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.005133, allocations: 84.08 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.005152, allocations: 79.22 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.005186, allocations: 109.8 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.005187, allocations: 0 / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.312e-05/0.00525, allocations: 37.66 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.005298, allocations: 130.7 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.005496, allocations: 272.6 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.005504, allocations: 25.7 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.005591, allocations: 192 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-06/0.005595, allocations: 4 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.005636, allocations: 33.66 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.005718, allocations: 330.8 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.005768, allocations: 55.89 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.005833, allocations: 94.83 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.911e-05/0.005933, allocations: 126.7 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005935, allocations: 0 / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002089/0.006143, allocations: 169.4 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.006156, allocations: 4 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006161, allocations: 4 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.006173, allocations: 4.25 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.509e-05/0.006258, allocations: 23.92 kB / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.006264, allocations: 8.094 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.006314, allocations: 19.94 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.006327, allocations: 11.98 kB / 1.007 GB, free: 6.93 MB / 0.9636 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.000113/0.00644, allocations: 253 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.006484, allocations: 120.9 kB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.006523, allocations: 118.2 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.171e-05/0.006565, allocations: 184.2 kB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.552e-05/0.00661, allocations: 180.3 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.215e-05/0.006653, allocations: 188.2 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.006833, allocations: 428.8 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/0.006855, allocations: 101 kB / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.006879, allocations: 105.1 kB / 1.008 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.13e-05/0.006921, allocations: 184.2 kB / 1.008 GB, free: 5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.006967, allocations: 184.3 kB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.983e-05/0.007007, allocations: 180.2 kB / 1.009 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.999e-05/0.007047, allocations: 176.3 kB / 1.009 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.965e-05/0.007146, allocations: 327.6 kB / 1.009 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.00718, allocations: 116.8 kB / 1.009 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.00723, allocations: 176.3 kB / 1.009 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.007292, allocations: 113 kB / 1.01 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.00734, allocations: 188.2 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.007363, allocations: 105 kB / 1.01 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001182/0.007481, allocations: 195.1 kB / 1.01 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007481, allocations: 0 / 1.01 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001951/0.007676, allocations: 35.84 kB / 1.01 GB, free: 3.16 MB / 0.9636 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 9.867e-05/0.007775, allocations: 170.5 kB / 1.01 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.007887, allocations: 76.2 kB / 1.01 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.007888, allocations: 0 / 1.01 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.00789, allocations: 0 / 1.01 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.008251, allocations: 478 kB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.008669, allocations: 472.3 kB / 1.011 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.008771, allocations: 163.5 kB / 1.011 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.008806, allocations: 24.61 kB / 1.011 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of SimCode: time 8.92e-07/0.008807, allocations: 0 / 1.011 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of Templates: time 0.002451/0.01126, allocations: 2.074 MB / 1.013 GB, free: 15.68 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.7177641140297055]