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.000781/0.000781, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 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.0008442/0.0008442, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8676/0.8676, allocations: 177.2 MB / 202.8 MB, free: 5.719 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.697/1.697, allocations: 377.8 MB / 0.6221 GB, free: 8.652 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 0.981 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.612e-05, allocations: 9.094 kB / 0.981 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001903/0.00193, allocations: 0.7299 MB / 0.9818 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0002759/0.002205, allocations: 51.83 kB / 0.9818 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.002264, allocations: 11.94 kB / 0.9818 GB, free: 0.5742 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.002419, allocations: 15.84 kB / 0.9818 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 6.541e-05/0.002485, allocations: 15.86 kB / 0.9819 GB, free: 0.543 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.002671, allocations: 23.98 kB / 0.9819 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.002874, allocations: 119.7 kB / 0.982 GB, free: 412 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.003097, allocations: 92.89 kB / 0.9821 GB, free: 316 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.003215, allocations: 95.78 kB / 0.9822 GB, free: 220 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.003288, allocations: 63.88 kB / 0.9822 GB, free: 156 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.003319, allocations: 15.94 kB / 0.9822 GB, free: 140 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.003337, allocations: 12 kB / 0.9823 GB, free: 128 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 6.033e-05/0.003398, allocations: 55.84 kB / 0.9823 GB, free: 72 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.003445, allocations: 51.84 kB / 0.9824 GB, free: 20 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.003659, allocations: 231.2 kB / 0.9826 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.003661, allocations: 0 / 0.9826 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.453e-06/0.003663, allocations: 0 / 0.9826 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.003668, allocations: 0 / 0.9826 GB, free: 15.79 MB / 0.9011 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.000441/0.004109, allocations: 441.6 kB / 0.983 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.004156, allocations: 8.031 kB / 0.983 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.004211, allocations: 62.72 kB / 0.9831 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.004251, allocations: 20.8 kB / 0.9831 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.004471, allocations: 205.3 kB / 0.9833 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.004485, allocations: 12.75 kB / 0.9833 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.004505, allocations: 16.38 kB / 0.9833 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.004865, allocations: 345.5 kB / 0.9836 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.004876, allocations: 192 / 0.9836 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.004896, allocations: 12.38 kB / 0.9837 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.004926, allocations: 15.94 kB / 0.9837 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.005164, allocations: 267.8 kB / 0.9839 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009121/0.006076, allocations: 1.038 MB / 0.9849 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.518e-05/0.006142, allocations: 165.1 kB / 0.9851 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.006167, allocations: 84.14 kB / 0.9852 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.006183, allocations: 79.22 kB / 0.9852 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.006217, allocations: 113.8 kB / 0.9854 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.006218, allocations: 0 / 0.9854 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 7.583e-05/0.006294, allocations: 61.64 kB / 0.9854 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.00634, allocations: 126.7 kB / 0.9855 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.006702, allocations: 0.4926 MB / 0.986 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.006711, allocations: 29.7 kB / 0.986 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.0068, allocations: 175.8 kB / 0.9862 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.006803, allocations: 3.984 kB / 0.9862 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.006842, allocations: 33.64 kB / 0.9863 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.006924, allocations: 342.8 kB / 0.9866 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/0.00697, allocations: 47.97 kB / 0.9866 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.497e-05/0.007035, allocations: 98.77 kB / 0.9867 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.831e-05/0.007133, allocations: 114.8 kB / 0.9868 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.007136, allocations: 7.938 kB / 0.9868 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002067/0.007343, allocations: 189.3 kB / 0.987 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.007361, allocations: 4.25 kB / 0.987 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.007367, allocations: 8 kB / 0.987 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.007381, allocations: 7.938 kB / 0.987 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.007459, allocations: 23.92 kB / 0.9871 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.007464, allocations: 0 / 0.9871 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.007523, allocations: 35.78 kB / 0.9871 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.007536, allocations: 11.98 kB / 0.9871 GB, free: 10.9 MB / 0.9011 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.0001073/0.007643, allocations: 245.1 kB / 0.9873 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.007697, allocations: 136.8 kB / 0.9875 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.007747, allocations: 134.8 kB / 0.9876 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-05/0.007785, allocations: 184.1 kB / 0.9878 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.828e-05/0.007834, allocations: 192.2 kB / 0.988 GB, free: 9.984 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.473e-05/0.007878, allocations: 176.3 kB / 0.9881 GB, free: 9.805 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.008084, allocations: 448.2 kB / 0.9885 GB, free: 9.316 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.659e-05/0.00811, allocations: 105 kB / 0.9886 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.008139, allocations: 105.1 kB / 0.9887 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.784e-05/0.008187, allocations: 180.3 kB / 0.9889 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/0.00824, allocations: 184.3 kB / 0.9891 GB, free: 8.727 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.756e-05/0.008287, allocations: 192.1 kB / 0.9893 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.887e-05/0.008336, allocations: 176.3 kB / 0.9894 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.008458, allocations: 323.6 kB / 0.9898 GB, free: 8.012 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-05/0.008528, allocations: 144.8 kB / 0.9899 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.641e-05/0.008595, allocations: 188.2 kB / 0.9901 GB, free: 7.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.008666, allocations: 120.9 kB / 0.9902 GB, free: 7.547 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.008717, allocations: 180.2 kB / 0.9904 GB, free: 7.363 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.008744, allocations: 101 kB / 0.9905 GB, free: 7.258 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002501/0.008994, allocations: 363 kB / 0.9908 GB, free: 6.902 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.008994, allocations: 0 / 0.9908 GB, free: 6.902 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001929/0.009187, allocations: 28 kB / 0.9908 GB, free: 6.875 MB / 0.9011 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.0003542/0.009541, allocations: 0.828 MB / 0.9916 GB, free: 6.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.009675, allocations: 71.89 kB / 0.9917 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.009677, allocations: 0 / 0.9917 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.009678, allocations: 0 / 0.9917 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.01014, allocations: 493.2 kB / 0.9922 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.0125, allocations: 3.329 MB / 0.9954 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.371e-05/0.01259, allocations: 168.7 kB / 0.9956 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 7.144e-05/0.01267, allocations: 49.61 kB / 0.9956 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.01274, allocations: 60.48 kB / 0.9957 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of SimCode: time 8.62e-07/0.01274, allocations: 0 / 0.9957 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.03028, allocations: 5.365 MB / 1.001 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.849/6.879, allocations: 18.02 kB / 1.001 GB, free: 12.5 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv","/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] "Error: Could not read variable matMin1.y[3] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin1.y[3] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.867451459169388]