Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_11_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.007864/0.007864, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 199.7 kB / 16.68 MB, free: 5.969 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.88 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2836, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001805/0.2855, allocations: 0.7552 MB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002265/0.2857, allocations: 57.67 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.2858, allocations: 0 / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.2859, allocations: 23.8 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.786e-05/0.286, allocations: 15.92 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.2861, allocations: 23.97 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.2863, allocations: 119.7 kB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.2866, allocations: 156.5 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-05/0.2867, allocations: 71.77 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.791e-05/0.2868, allocations: 75.64 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.2868, allocations: 12 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.199e-05/0.2869, allocations: 12 kB / 1.222 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.2869, allocations: 47.86 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.608e-05/0.287, allocations: 87.42 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.2873, allocations: 242.9 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2873, allocations: 4 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2873, allocations: 0 / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.2873, allocations: 0 / 1.222 GB, free: 12.56 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.0005642/0.2879, allocations: 0.5026 MB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2879, allocations: 8.031 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.288, allocations: 54.73 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.2881, allocations: 24.8 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.2883, allocations: 253 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2884, allocations: 12.75 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.2884, allocations: 24.36 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.2889, allocations: 344.9 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2889, allocations: 0 / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.2889, allocations: 8 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.289, allocations: 12 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.2894, allocations: 271.8 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.2906, allocations: 1.096 MB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.2907, allocations: 165.1 kB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.2908, allocations: 80.14 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.2908, allocations: 79.28 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.2909, allocations: 118 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2909, allocations: 3.938 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.291, allocations: 61.38 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.2911, allocations: 130.7 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.2916, allocations: 0.4887 MB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2917, allocations: 25.7 kB / 1.226 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.2918, allocations: 187.8 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.2918, allocations: 0 / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.2919, allocations: 25.72 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.292, allocations: 342.8 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.467e-05/0.2921, allocations: 47.97 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.2922, allocations: 102.8 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.2924, allocations: 114.7 kB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2924, allocations: 0 / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003197/0.2927, allocations: 201.2 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2927, allocations: 9.812 kB / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2928, allocations: 4 kB / 1.226 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2928, allocations: 256 / 1.226 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.913e-05/0.2929, allocations: 23.98 kB / 1.227 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.2929, allocations: 4 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.293, allocations: 35.78 kB / 1.227 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.293, allocations: 11.92 kB / 1.227 GB, free: 7.434 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.0001748/0.2932, allocations: 246.6 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.541e-05/0.2933, allocations: 132.7 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.302e-05/0.2934, allocations: 134.8 kB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.949e-05/0.2935, allocations: 192.3 kB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-05/0.2936, allocations: 180.2 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.321e-05/0.2936, allocations: 180.2 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.294, allocations: 489.1 kB / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.656e-05/0.2941, allocations: 104.9 kB / 1.228 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.2941, allocations: 109 kB / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.728e-05/0.2942, allocations: 188.1 kB / 1.228 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.2943, allocations: 176.3 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-05/0.2943, allocations: 176.3 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.317e-05/0.2944, allocations: 188.4 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.2946, allocations: 331.6 kB / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.2948, allocations: 221.9 kB / 1.229 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.2949, allocations: 180.2 kB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.295, allocations: 108.9 kB / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.2951, allocations: 180.2 kB / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.2951, allocations: 112.9 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004046/0.2955, allocations: 363 kB / 1.23 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2955, allocations: 0 / 1.23 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002763/0.2958, allocations: 24 kB / 1.23 GB, free: 3.281 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.0005024/0.2963, allocations: 0.8441 MB / 1.231 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.2965, allocations: 71.83 kB / 1.231 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2965, allocations: 0 / 1.231 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.2965, allocations: 4 kB / 1.231 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.2971, allocations: 485.8 kB / 1.232 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.3006, allocations: 3.3 MB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.301, allocations: 0.7749 MB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.226e-05/0.3011, allocations: 49.53 kB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.3012, allocations: 63.41 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.3012, allocations: 0 / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.326, allocations: 4.597 MB / 1.24 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.454, allocations: 23.03 kB / 1.24 GB, free: 9 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches