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.002282/0.002282, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00264/0.00264, allocations: 164.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.524/1.524, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 3.068/3.068, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] 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.875e-06/2.875e-06, allocations: 0 / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.968e-05/4.256e-05, allocations: 5.234 kB / 1 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002345/0.002388, allocations: 0.7397 MB / 1.001 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002793/0.002667, allocations: 59.77 kB / 1.001 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.002717, allocations: 0 / 1.001 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.002875, allocations: 19.86 kB / 1.001 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.002929, allocations: 15.86 kB / 1.001 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.003094, allocations: 27.95 kB / 1.001 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.003316, allocations: 119.7 kB / 1.001 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.00356, allocations: 84.89 kB / 1.001 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.003681, allocations: 91.8 kB / 1.001 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.003789, allocations: 75.81 kB / 1.001 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.003832, allocations: 12 kB / 1.001 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.309e-05/0.003865, allocations: 12 kB / 1.001 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.003953, allocations: 55.83 kB / 1.001 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.836e-05/0.004041, allocations: 51.84 kB / 1.002 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.004338, allocations: 231.2 kB / 1.002 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.004341, allocations: 0 / 1.002 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004342, allocations: 0 / 1.002 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.004348, allocations: 0 / 1.002 GB, free: 5.641 MB / 0.9512 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.0006886/0.005037, allocations: 437.6 kB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.005078, allocations: 11.98 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.005141, allocations: 32.75 kB / 1.002 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.00552, allocations: 193.4 kB / 1.002 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.005543, allocations: 12.75 kB / 1.002 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.005582, allocations: 20.36 kB / 1.002 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.006124, allocations: 345.6 kB / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.006136, allocations: 192 / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.006162, allocations: 8.375 kB / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.728e-05/0.006229, allocations: 28.05 kB / 1.003 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.006667, allocations: 263.8 kB / 1.003 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.007886, allocations: 0.9178 MB / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.008016, allocations: 185 kB / 1.004 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.008062, allocations: 80.14 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.008104, allocations: 75.28 kB / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.851e-05/0.008172, allocations: 109.8 kB / 1.004 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.008173, allocations: 3.938 kB / 1.004 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.664e-05/0.00827, allocations: 41.61 kB / 1.004 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.008345, allocations: 126.7 kB / 1.005 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.008749, allocations: 262.7 kB / 1.005 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.008767, allocations: 25.7 kB / 1.005 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.008915, allocations: 192 kB / 1.005 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-06/0.00892, allocations: 4 kB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.008981, allocations: 33.7 kB / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.009195, allocations: 330.8 kB / 1.005 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.028e-05/0.009285, allocations: 51.95 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.009403, allocations: 94.83 kB / 1.005 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.009599, allocations: 118.7 kB / 1.006 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.009602, allocations: 4 kB / 1.006 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004275/0.01003, allocations: 173.4 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.01005, allocations: 7.984 kB / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.01006, allocations: 4 kB / 1.006 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.01007, allocations: 0 / 1.006 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.01018, allocations: 20.19 kB / 1.006 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.0102, allocations: 15.92 kB / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.13e-05/0.01029, allocations: 23.94 kB / 1.006 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.0103, allocations: 4 kB / 1.006 GB, free: 1.207 MB / 0.9512 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.0001998/0.0105, allocations: 249.6 kB / 1.006 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.01059, allocations: 120.8 kB / 1.006 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.302e-05/0.01068, allocations: 117.5 kB / 1.006 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.421e-05/0.01076, allocations: 180.2 kB / 1.006 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-05/0.01086, allocations: 184.2 kB / 1.007 GB, free: 340 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.9e-05/0.01095, allocations: 180.2 kB / 1.007 GB, free: 152 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.0113, allocations: 424.8 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.333e-05/0.01136, allocations: 113 kB / 1.007 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.01142, allocations: 108.9 kB / 1.007 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.765e-05/0.01152, allocations: 176.3 kB / 1.008 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.772e-05/0.0116, allocations: 180.5 kB / 1.008 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.754e-05/0.01169, allocations: 180.2 kB / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001019/0.01179, allocations: 180.3 kB / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.012, allocations: 327.6 kB / 1.008 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.01207, allocations: 112.9 kB / 1.009 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.01219, allocations: 184.2 kB / 1.009 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.01232, allocations: 109 kB / 1.009 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.01243, allocations: 192.1 kB / 1.009 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.01248, allocations: 109 kB / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002075/0.01269, allocations: 194.6 kB / 1.009 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.01269, allocations: 0 / 1.009 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003066/0.013, allocations: 43.78 kB / 1.009 GB, free: 13.43 MB / 0.9669 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.000188/0.01319, allocations: 170.5 kB / 1.009 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.01335, allocations: 71.83 kB / 1.01 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01335, allocations: 0.5 kB / 1.01 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.01335, allocations: 4 kB / 1.01 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007388/0.01409, allocations: 471.7 kB / 1.01 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.01474, allocations: 434.7 kB / 1.01 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.01493, allocations: 167.5 kB / 1.011 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.536e-05/0.01499, allocations: 28.47 kB / 1.011 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.01503, allocations: 16.5 kB / 1.011 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.01503, allocations: 0 / 1.011 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of Templates: time 0.004251/0.01929, allocations: 0.9703 MB / 1.012 GB, free: 11.09 MB / 0.9669 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: 8.589134432375431]