Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001262, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.436/2.436, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5845, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001946/0.5865, allocations: 0.7517 MB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002239/0.5867, allocations: 51.83 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.5868, allocations: 0 / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.5869, allocations: 23.8 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.681e-05/0.587, allocations: 11.92 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.5871, allocations: 27.95 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.5873, allocations: 119.7 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.5875, allocations: 156.5 kB / 1.019 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.4e-05/0.5876, allocations: 63.8 kB / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/0.5877, allocations: 79.62 kB / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.5878, allocations: 12 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.991e-05/0.5878, allocations: 16 kB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.5879, allocations: 47.86 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/0.588, allocations: 95.41 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.5882, allocations: 215.3 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5882, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5882, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.5882, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 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.0005488/0.5887, allocations: 0.4973 MB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5888, allocations: 15.98 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.318e-05/0.5889, allocations: 62.66 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.5889, allocations: 28.59 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.5892, allocations: 256.8 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.5892, allocations: 12.75 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.5892, allocations: 16.38 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.5897, allocations: 344.9 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5897, allocations: 7.938 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.5897, allocations: 8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.5898, allocations: 12 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.5901, allocations: 264.4 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.5912, allocations: 1.084 MB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.065e-05/0.5913, allocations: 173.1 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.5913, allocations: 80.14 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.5913, allocations: 75.28 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.5914, allocations: 114 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.5914, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001006/0.5915, allocations: 53.42 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.5915, allocations: 130.7 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.5921, allocations: 0.5042 MB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.5921, allocations: 29.64 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.5922, allocations: 171.8 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-06/0.5922, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.5923, allocations: 33.61 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5924, allocations: 342.8 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/0.5924, allocations: 51.97 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.5925, allocations: 94.81 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.5927, allocations: 122.7 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5927, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003108/0.593, allocations: 189.2 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.593, allocations: 15.88 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.593, allocations: 0 / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.5931, allocations: 7.938 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.5932, allocations: 23.98 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5932, allocations: 4 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.5933, allocations: 31.67 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.5933, allocations: 12 kB / 1.024 GB, free: 11.72 MB / 0.7794 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.0001389/0.5934, allocations: 253.2 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.5935, allocations: 132.6 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.55e-05/0.5936, allocations: 130.8 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.228e-05/0.5937, allocations: 180.2 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.261e-05/0.5937, allocations: 180.2 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-05/0.5938, allocations: 192.2 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.594, allocations: 493.1 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.853e-05/0.5941, allocations: 101 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.5941, allocations: 104.9 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.924e-05/0.5942, allocations: 184.2 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.5942, allocations: 180.2 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.437e-05/0.5943, allocations: 188.2 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.838e-05/0.5943, allocations: 176.3 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.5945, allocations: 327.5 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.5946, allocations: 221.7 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.5947, allocations: 184.3 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.5948, allocations: 113 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.5948, allocations: 180.2 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.5949, allocations: 101 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00034/0.5952, allocations: 367 kB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5952, allocations: 0 / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002648/0.5955, allocations: 24 kB / 1.028 GB, free: 7.566 MB / 0.7794 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.0004119/0.5959, allocations: 0.8399 MB / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.596, allocations: 67.83 kB / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.5961, allocations: 0.5 kB / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.5961, allocations: 4.016 kB / 1.028 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.5966, allocations: 488.1 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.5996, allocations: 3.32 MB / 1.032 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.5999, allocations: 0.7788 MB / 1.033 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.546e-05/0.6, allocations: 45.53 kB / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.846e-05/0.6001, allocations: 63.41 kB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6001, allocations: 0 / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.6202, allocations: 4.532 MB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/7.5, allocations: 11.53 kB / 1.037 GB, free: 13.33 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches