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.001647/0.001647, allocations: 78.33 kB / 19.18 MB, free: 2.527 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.001587/0.001587, allocations: 169.5 kB / 22.46 MB, free: 5.355 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.53/1.53, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.961/2.961, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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 4.008e-06/4.008e-06, allocations: 3.938 kB / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.151e-05/5.551e-05, allocations: 8.469 kB / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002345/0.0024, allocations: 0.7301 MB / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002952/0.002695, allocations: 59.77 kB / 0.9823 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.002755, allocations: 7.938 kB / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.002914, allocations: 11.86 kB / 0.9823 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.828e-05/0.002973, allocations: 15.91 kB / 0.9823 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.003149, allocations: 31.97 kB / 0.9823 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.003372, allocations: 119.7 kB / 0.9824 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.003605, allocations: 84.89 kB / 0.9825 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.00374, allocations: 95.8 kB / 0.9826 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.003847, allocations: 71.81 kB / 0.9827 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.003888, allocations: 8 kB / 0.9827 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.333e-05/0.003921, allocations: 15.94 kB / 0.9827 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.776e-05/0.004009, allocations: 63.83 kB / 0.9828 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.00409, allocations: 51.78 kB / 0.9828 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.004377, allocations: 227.2 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004379, allocations: 0 / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00438, allocations: 0 / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.004386, allocations: 4 kB / 0.983 GB, free: 10.3 MB / 0.9356 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.0005992/0.004985, allocations: 437.5 kB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.005025, allocations: 8.031 kB / 0.9835 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.005084, allocations: 24.8 kB / 0.9835 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.005381, allocations: 201.4 kB / 0.9837 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.005402, allocations: 16.75 kB / 0.9837 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.005432, allocations: 16.38 kB / 0.9837 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.005981, allocations: 345.5 kB / 0.984 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.005992, allocations: 192 / 0.984 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.006019, allocations: 8.375 kB / 0.9841 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.006058, allocations: 16.12 kB / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.006435, allocations: 267.8 kB / 0.9843 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.007636, allocations: 0.9256 MB / 0.9852 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.007755, allocations: 165.1 kB / 0.9854 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.007802, allocations: 80.14 kB / 0.9855 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.007838, allocations: 75.28 kB / 0.9855 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.609e-05/0.007904, allocations: 117.8 kB / 0.9856 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.007905, allocations: 0 / 0.9856 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001008/0.008006, allocations: 41.59 kB / 0.9857 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.008085, allocations: 126.7 kB / 0.9858 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.008428, allocations: 277.7 kB / 0.9861 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.008447, allocations: 25.7 kB / 0.9861 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.008594, allocations: 184.1 kB / 0.9863 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.008597, allocations: 0 / 0.9863 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.008662, allocations: 33.66 kB / 0.9863 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.008827, allocations: 326.8 kB / 0.9866 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.008906, allocations: 55.95 kB / 0.9867 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.009019, allocations: 94.83 kB / 0.9868 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.00918, allocations: 122.7 kB / 0.9869 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009182, allocations: 0 / 0.9869 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003441/0.009526, allocations: 181.4 kB / 0.987 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.009546, allocations: 8 kB / 0.9871 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.009552, allocations: 0 / 0.9871 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.00957, allocations: 4 kB / 0.9871 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.009686, allocations: 19.98 kB / 0.9871 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.009695, allocations: 3.938 kB / 0.9871 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.009788, allocations: 27.83 kB / 0.9871 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.009807, allocations: 8.25 kB / 0.9871 GB, free: 5.887 MB / 0.9356 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.0002084/0.01002, allocations: 257 kB / 0.9874 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.0101, allocations: 112.9 kB / 0.9875 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.586e-05/0.01018, allocations: 121.4 kB / 0.9876 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-05/0.01026, allocations: 184.2 kB / 0.9878 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.894e-05/0.01035, allocations: 176.3 kB / 0.9879 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.565e-05/0.01044, allocations: 188.1 kB / 0.9881 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.01076, allocations: 424.8 kB / 0.9885 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.145e-05/0.01082, allocations: 108.9 kB / 0.9886 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.01087, allocations: 105 kB / 0.9887 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.918e-05/0.01096, allocations: 180.3 kB / 0.9889 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/0.01104, allocations: 184.4 kB / 0.9891 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.559e-05/0.01113, allocations: 180.3 kB / 0.9892 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.848e-05/0.01122, allocations: 184.2 kB / 0.9894 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.01141, allocations: 319.6 kB / 0.9897 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.01148, allocations: 108.9 kB / 0.9898 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.01158, allocations: 184.3 kB / 0.99 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.01169, allocations: 108.9 kB / 0.9901 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.01179, allocations: 180.3 kB / 0.9903 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.01183, allocations: 108.9 kB / 0.9904 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002081/0.01204, allocations: 203 kB / 0.9906 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01204, allocations: 4 kB / 0.9906 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002994/0.01234, allocations: 43.78 kB / 0.9906 GB, free: 2.113 MB / 0.9356 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.0001802/0.01252, allocations: 174.5 kB / 0.9908 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.01268, allocations: 63.89 kB / 0.9908 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01268, allocations: 0 / 0.9908 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.01268, allocations: 0 / 0.9908 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006532/0.01334, allocations: 480.2 kB / 0.9913 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.014, allocations: 450 kB / 0.9917 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.01417, allocations: 168.1 kB / 0.9919 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.534e-05/0.01424, allocations: 24.48 kB / 0.9919 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.01428, allocations: 12.5 kB / 0.9919 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.01428, allocations: 0 / 0.9919 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of Templates: time 0.004052/0.01833, allocations: 0.9771 MB / 0.9929 GB, free: 15.75 MB / 0.9512 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: 8.27473345771432]