Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",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.007424/0.007424, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.002114/0.002114, allocations: 195.8 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.885/2.885, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 63.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2782, 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.MatrixMax): time 0.001923/0.2801, allocations: 0.7449 MB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000235/0.2804, allocations: 53.67 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.2804, allocations: 4 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.2806, allocations: 19.86 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.702e-05/0.2806, allocations: 11.92 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.2808, allocations: 26.08 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.281, allocations: 127.6 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.2813, allocations: 152.5 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.2814, allocations: 71.77 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.465e-05/0.2815, allocations: 75.64 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.2815, allocations: 8 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.519e-05/0.2816, allocations: 12 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.2816, allocations: 51.86 kB / 1.222 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.2818, allocations: 91.42 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.282, allocations: 235 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.282, allocations: 0 / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.282, allocations: 0 / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.2821, allocations: 0 / 1.222 GB, free: 12.58 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006081/0.2827, allocations: 0.5027 MB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2827, allocations: 8.031 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.2828, allocations: 54.73 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.2828, allocations: 24.8 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.2831, allocations: 260.9 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2832, allocations: 12.75 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.2832, allocations: 16.38 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.2837, allocations: 340.9 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2837, allocations: 0 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.2838, allocations: 4 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/0.2838, allocations: 23.92 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.2842, allocations: 259.9 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.2855, allocations: 1.084 MB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.143e-05/0.2856, allocations: 165.1 kB / 1.225 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.2856, allocations: 96.08 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.2857, allocations: 75.28 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.2857, allocations: 106 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.2857, allocations: 3.938 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001106/0.2858, allocations: 53.5 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.2859, allocations: 134.7 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/0.2865, allocations: 0.4965 MB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.2865, allocations: 25.7 kB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2867, allocations: 163.9 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.2867, allocations: 4 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.2868, allocations: 29.7 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2869, allocations: 338.8 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.287, allocations: 51.89 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.2871, allocations: 102 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.2873, allocations: 109.8 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2873, allocations: 0 / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003133/0.2876, allocations: 185.2 kB / 1.226 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2876, allocations: 11.94 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2876, allocations: 0 / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.2877, allocations: 4 kB / 1.226 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.2878, allocations: 24.2 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2878, allocations: 0 / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.2879, allocations: 39.77 kB / 1.226 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.2879, allocations: 4 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001832/0.2881, allocations: 249 kB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.845e-05/0.2882, allocations: 132.7 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.166e-05/0.2883, allocations: 138.8 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.011e-05/0.2884, allocations: 188.3 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.776e-05/0.2885, allocations: 180.3 kB / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.532e-05/0.2886, allocations: 184.2 kB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.2889, allocations: 489.1 kB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.398e-05/0.289, allocations: 108.9 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.289, allocations: 101 kB / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.522e-05/0.2891, allocations: 188.2 kB / 1.228 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.509e-05/0.2892, allocations: 184.2 kB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.407e-05/0.2893, allocations: 176.3 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.953e-05/0.2894, allocations: 180.4 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.2896, allocations: 331.7 kB / 1.229 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.2897, allocations: 217.9 kB / 1.229 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.2898, allocations: 188.2 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2899, allocations: 108.9 kB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.29, allocations: 176.3 kB / 1.23 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.2901, allocations: 105 kB / 1.23 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004104/0.2905, allocations: 371 kB / 1.23 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2905, allocations: 3.938 kB / 1.23 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002812/0.2908, allocations: 31.94 kB / 1.23 GB, free: 3.352 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.0005132/0.2913, allocations: 0.8325 MB / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.2915, allocations: 63.89 kB / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2915, allocations: 0 / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.2915, allocations: 4 kB / 1.231 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.2921, allocations: 497.2 kB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.2957, allocations: 3.266 MB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.2961, allocations: 0.7788 MB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.797e-05/0.2962, allocations: 49.52 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.2963, allocations: 59.42 kB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.2963, allocations: 0 / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.3222, allocations: 4.578 MB / 1.24 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.069, allocations: 15.64 kB / 1.24 GB, free: 9.145 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches