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.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_latest_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.001711/0.001711, allocations: 112.5 kB / 15.73 MB, free: 76 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.002019/0.002019, allocations: 189.8 kB / 16.66 MB, free: 6.582 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.717/2.717, allocations: 469.4 MB / 0.7421 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2778, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001964/0.2798, allocations: 0.7567 MB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002528/0.2801, allocations: 57.67 kB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.2802, allocations: 3.938 kB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.2803, allocations: 19.86 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.2804, allocations: 11.92 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.2806, allocations: 23.97 kB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.2808, allocations: 123.7 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.281, allocations: 160.4 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.2811, allocations: 71.77 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.622e-05/0.2812, allocations: 75.64 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.2813, allocations: 12 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.666e-05/0.2813, allocations: 12 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.2814, allocations: 51.86 kB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.367e-05/0.2815, allocations: 83.42 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.2817, allocations: 239 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2817, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2817, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.2818, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 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.0005164/0.2823, allocations: 0.5043 MB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2823, allocations: 8.031 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.2824, allocations: 62.73 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.2824, allocations: 24.8 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.2827, allocations: 252.5 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2827, allocations: 12.75 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.2828, allocations: 28.3 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.2832, allocations: 340.9 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2833, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.2833, allocations: 4 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.2833, allocations: 19.94 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.2837, allocations: 271.5 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.2848, allocations: 1.096 MB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.939e-05/0.2849, allocations: 169.1 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.2849, allocations: 80.14 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.285, allocations: 79.28 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.285, allocations: 113.9 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.285, allocations: 0 / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.00011/0.2851, allocations: 57.5 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.2852, allocations: 134.6 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.2857, allocations: 0.4926 MB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.2857, allocations: 25.7 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.2858, allocations: 179.8 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.2858, allocations: 0 / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.2859, allocations: 29.7 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.286, allocations: 342.8 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.504e-05/0.2861, allocations: 47.97 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.2862, allocations: 102.8 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.2863, allocations: 114.8 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2863, allocations: 0 / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002909/0.2866, allocations: 197.4 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2866, allocations: 11.94 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2866, allocations: 0 / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2867, allocations: 4 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.2868, allocations: 23.98 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2868, allocations: 7.938 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.94e-05/0.2869, allocations: 27.78 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.2869, allocations: 11.98 kB / 1.226 GB, free: 7.828 MB / 0.9825 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.0001408/0.287, allocations: 245.6 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/0.2871, allocations: 144.7 kB / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.087e-05/0.2872, allocations: 134.8 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.657e-05/0.2873, allocations: 180.3 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-05/0.2873, allocations: 180.2 kB / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-05/0.2874, allocations: 188.2 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.2877, allocations: 497 kB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-05/0.2877, allocations: 101 kB / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.2877, allocations: 105 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.276e-05/0.2878, allocations: 188.1 kB / 1.228 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.2878, allocations: 176.3 kB / 1.228 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.987e-05/0.2879, allocations: 180.2 kB / 1.228 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.173e-05/0.288, allocations: 184.5 kB / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.2881, allocations: 331.6 kB / 1.229 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.2882, allocations: 221.8 kB / 1.229 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-05/0.2883, allocations: 184.2 kB / 1.229 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2884, allocations: 105 kB / 1.229 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.2885, allocations: 188.2 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.2885, allocations: 108.9 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000352/0.2889, allocations: 363 kB / 1.23 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2889, allocations: 0 / 1.23 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000292/0.2892, allocations: 28 kB / 1.23 GB, free: 3.66 MB / 0.9825 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.0004074/0.2896, allocations: 0.8398 MB / 1.231 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.2898, allocations: 67.83 kB / 1.231 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2898, allocations: 0 / 1.231 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.2898, allocations: 0 / 1.231 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.2903, allocations: 485.6 kB / 1.231 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.2934, allocations: 3.299 MB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.2937, allocations: 0.7788 MB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.783e-05/0.2938, allocations: 49.47 kB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.11e-05/0.2939, allocations: 59.41 kB / 1.235 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.2939, allocations: 4 kB / 1.235 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.3146, allocations: 4.61 MB / 1.24 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.858, allocations: 7.938 kB / 1.24 GB, free: 9.395 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches