Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001123/0.001123, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0009137/0.0009137, allocations: 177.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.8746/0.8746, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.712/1.712, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.9823 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.981e-05, allocations: 4.953 kB / 0.9823 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001867/0.001897, allocations: 0.7416 MB / 0.983 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002863/0.002183, allocations: 55.81 kB / 0.983 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.002246, allocations: 7.938 kB / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.002412, allocations: 19.8 kB / 0.9831 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.002472, allocations: 7.984 kB / 0.9831 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.00265, allocations: 31.95 kB / 0.9831 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.002858, allocations: 123.6 kB / 0.9832 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.003084, allocations: 84.84 kB / 0.9833 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.003199, allocations: 99.78 kB / 0.9834 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.003301, allocations: 67.81 kB / 0.9835 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.003345, allocations: 12 kB / 0.9835 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 2.619e-05/0.003371, allocations: 12 kB / 0.9835 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/0.003447, allocations: 51.84 kB / 0.9835 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.003513, allocations: 55.78 kB / 0.9836 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.003794, allocations: 235.2 kB / 0.9838 GB, free: 468 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003796, allocations: 4 kB / 0.9838 GB, free: 464 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.573e-06/0.003798, allocations: 0 / 0.9838 GB, free: 464 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.003804, allocations: 0 / 0.9838 GB, free: 464 kB / 0.9323 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.000617/0.004421, allocations: 437.7 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.004463, allocations: 8.031 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.004532, allocations: 24.8 kB / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.004839, allocations: 193.4 kB / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.004861, allocations: 8.75 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.004893, allocations: 20.28 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.005391, allocations: 337.6 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.005406, allocations: 16.11 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.005429, allocations: 8.375 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.005462, allocations: 16.12 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.005807, allocations: 271.8 kB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.006865, allocations: 0.9139 MB / 0.986 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.121e-05/0.006956, allocations: 169.1 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.00699, allocations: 80.14 kB / 0.9862 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.007015, allocations: 83.2 kB / 0.9863 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.007062, allocations: 109.8 kB / 0.9864 GB, free: 13.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.007064, allocations: 0 / 0.9864 GB, free: 13.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 9.354e-05/0.007157, allocations: 45.53 kB / 0.9865 GB, free: 13.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.007224, allocations: 134.7 kB / 0.9866 GB, free: 13.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.007502, allocations: 272 kB / 0.9868 GB, free: 13.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.007515, allocations: 25.7 kB / 0.9869 GB, free: 13.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.007635, allocations: 192 kB / 0.987 GB, free: 12.97 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-06/0.007641, allocations: 0 / 0.987 GB, free: 12.97 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.007703, allocations: 29.7 kB / 0.9871 GB, free: 12.93 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.00782, allocations: 326.8 kB / 0.9874 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.007894, allocations: 51.95 kB / 0.9874 GB, free: 12.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.62e-05/0.007991, allocations: 94.83 kB / 0.9875 GB, free: 12.44 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.008131, allocations: 122.7 kB / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.008133, allocations: 0 / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003021/0.008436, allocations: 181.5 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.008452, allocations: 8 kB / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.008458, allocations: 0 / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.008475, allocations: 4 kB / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.008578, allocations: 19.98 kB / 0.9878 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.008587, allocations: 7.875 kB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.008664, allocations: 19.94 kB / 0.9879 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.008683, allocations: 12 kB / 0.9879 GB, free: 12.04 MB / 0.948 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.0001688/0.008851, allocations: 249 kB / 0.9881 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.00892, allocations: 113 kB / 0.9882 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.131e-05/0.008982, allocations: 125.5 kB / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.893e-05/0.009041, allocations: 184.3 kB / 0.9885 GB, free: 11.35 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.707e-05/0.009098, allocations: 184.1 kB / 0.9887 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-05/0.009161, allocations: 184.2 kB / 0.9889 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.009419, allocations: 424.8 kB / 0.9893 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-05/0.009454, allocations: 104.9 kB / 0.9894 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.009485, allocations: 105.1 kB / 0.9895 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.9e-05/0.009544, allocations: 188.2 kB / 0.9897 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.009603, allocations: 184.3 kB / 0.9898 GB, free: 9.926 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.192e-05/0.009655, allocations: 176.3 kB / 0.99 GB, free: 9.746 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-05/0.00972, allocations: 184.2 kB / 0.9902 GB, free: 9.559 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.009855, allocations: 323.6 kB / 0.9905 GB, free: 9.219 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.009901, allocations: 112.9 kB / 0.9906 GB, free: 9.102 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.009974, allocations: 176.3 kB / 0.9908 GB, free: 8.922 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.329e-05/0.01007, allocations: 112.9 kB / 0.9909 GB, free: 8.805 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.01015, allocations: 180.3 kB / 0.991 GB, free: 8.621 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.01018, allocations: 108.9 kB / 0.9911 GB, free: 8.508 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001731/0.01035, allocations: 204.1 kB / 0.9913 GB, free: 8.309 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01035, allocations: 0 / 0.9913 GB, free: 8.309 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003227/0.01068, allocations: 35.84 kB / 0.9914 GB, free: 8.273 MB / 0.948 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.0001216/0.0108, allocations: 178.5 kB / 0.9915 GB, free: 8.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.01094, allocations: 63.89 kB / 0.9916 GB, free: 8.027 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01094, allocations: 0 / 0.9916 GB, free: 8.027 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.01094, allocations: 0 / 0.9916 GB, free: 8.027 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.01145, allocations: 475.8 kB / 0.9921 GB, free: 7.559 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.01203, allocations: 472.3 kB / 0.9925 GB, free: 7.059 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.01219, allocations: 172.6 kB / 0.9927 GB, free: 6.871 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.01224, allocations: 16.48 kB / 0.9927 GB, free: 6.855 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.01224, allocations: 0 / 0.9927 GB, free: 6.855 MB / 0.948 GB Notification: Performance of Templates: time 0.003074/0.01531, allocations: 2.089 MB / 0.9947 GB, free: 4.77 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.77011903654784]