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.002436/0.002436, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002939/0.002939, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.376/3.376, allocations: 429.4 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 1.109e-05/1.109e-05, allocations: 0 / 0.8775 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/4.096e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002824/0.002865, allocations: 0.7494 MB / 0.8782 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.0032, allocations: 58.2 kB / 0.8783 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.00325, allocations: 0 / 0.8783 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.003425, allocations: 18.59 kB / 0.8783 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.294e-05/0.003498, allocations: 17.52 kB / 0.8783 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.003692, allocations: 30 kB / 0.8784 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.003992, allocations: 127.6 kB / 0.8785 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.004272, allocations: 86.48 kB / 0.8786 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.004463, allocations: 91.8 kB / 0.8787 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.004616, allocations: 67.88 kB / 0.8787 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.458e-05/0.004671, allocations: 12 kB / 0.8787 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.953e-05/0.00472, allocations: 13.97 kB / 0.8787 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.004841, allocations: 55.77 kB / 0.8788 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.004966, allocations: 51.84 kB / 0.8789 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.005402, allocations: 235.2 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.005406, allocations: 3.938 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005407, allocations: 2.562 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.005412, allocations: 0 / 0.8791 GB, free: 4.992 MB / 0.8386 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.0009614/0.006373, allocations: 0.5348 MB / 0.8796 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.006415, allocations: 8.031 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.006553, allocations: 44.75 kB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.007029, allocations: 192.9 kB / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.007064, allocations: 12.73 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.007111, allocations: 17.09 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.007902, allocations: 310 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.007919, allocations: 1.531 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.007956, allocations: 8.375 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-05/0.008011, allocations: 16.12 kB / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.008551, allocations: 214.8 kB / 0.8804 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.01081, allocations: 1.164 MB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.01104, allocations: 269.4 kB / 0.8818 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.01115, allocations: 126.9 kB / 0.8819 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.678e-05/0.01123, allocations: 119.2 kB / 0.882 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.01135, allocations: 152.6 kB / 0.8822 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.01135, allocations: 0 / 0.8822 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001372/0.01149, allocations: 45.55 kB / 0.8822 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.01164, allocations: 170.6 kB / 0.8824 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.0122, allocations: 331.6 kB / 0.8827 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.01222, allocations: 25.7 kB / 0.8827 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.0125, allocations: 250.8 kB / 0.883 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/0.01251, allocations: 0 / 0.883 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.01263, allocations: 35.36 kB / 0.883 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004061/0.01303, allocations: 0.504 MB / 0.8835 GB, free: 280 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.01315, allocations: 35.97 kB / 0.8835 GB, free: 244 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.01336, allocations: 113.5 kB / 0.8836 GB, free: 96 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.01368, allocations: 129.4 kB / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.01368, allocations: 0 / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005288/0.01421, allocations: 161.3 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.01423, allocations: 7.938 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.01424, allocations: 4 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.01426, allocations: 4.25 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.01442, allocations: 19.98 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.01444, allocations: 11.88 kB / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.01459, allocations: 27.88 kB / 0.884 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.01462, allocations: 4 kB / 0.884 GB, free: 15.69 MB / 0.8542 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.0003266/0.01495, allocations: 311.7 kB / 0.8843 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.01511, allocations: 152.8 kB / 0.8844 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.01529, allocations: 169.3 kB / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001879/0.01547, allocations: 264.1 kB / 0.8848 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001927/0.01567, allocations: 268 kB / 0.8851 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000191/0.01586, allocations: 276 kB / 0.8853 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.01664, allocations: 0.5975 MB / 0.8859 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001163/0.01676, allocations: 152.9 kB / 0.8861 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.01687, allocations: 148.9 kB / 0.8862 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002027/0.01708, allocations: 276 kB / 0.8865 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/0.01727, allocations: 268.1 kB / 0.8867 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002021/0.01747, allocations: 264.1 kB / 0.887 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003295/0.0178, allocations: 272 kB / 0.8873 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.01819, allocations: 459.8 kB / 0.8877 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.01834, allocations: 160.8 kB / 0.8878 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.01856, allocations: 264.1 kB / 0.8881 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.01876, allocations: 156.8 kB / 0.8882 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.01896, allocations: 268.1 kB / 0.8885 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.01908, allocations: 152.8 kB / 0.8886 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003685/0.01945, allocations: 236 kB / 0.8889 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01945, allocations: 0 / 0.8889 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005301/0.01998, allocations: 47.78 kB / 0.8889 GB, free: 10.43 MB / 0.8542 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.0002602/0.02024, allocations: 210.4 kB / 0.8891 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.02048, allocations: 67.95 kB / 0.8892 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.02048, allocations: 0 / 0.8892 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.259e-06/0.02049, allocations: 4 kB / 0.8892 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.02152, allocations: 0.7217 MB / 0.8899 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009401/0.02246, allocations: 463.2 kB / 0.8903 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.02272, allocations: 151.3 kB / 0.8905 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.794e-05/0.02281, allocations: 24.55 kB / 0.8905 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.02286, allocations: 12.5 kB / 0.8905 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.02286, allocations: 0 / 0.8905 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of Templates: time 0.006188/0.02905, allocations: 0.9876 MB / 0.8915 GB, free: 7.754 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 240] 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.593368173926137]