Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MatrixMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_10_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.00125/0.00125, allocations: 108 kB / 15.6 MB, free: 132 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.001262/0.001262, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.211 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.4/2.4, allocations: 437 MB / 0.7104 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 71.89 kB / 0.8694 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5827, allocations: 151.6 MB / 1.017 GB, free: 2.414 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001972/0.5848, allocations: 0.7409 MB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00022/0.585, allocations: 51.83 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.5851, allocations: 4 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.5852, allocations: 19.8 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.5853, allocations: 7.984 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.5854, allocations: 27.98 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.5856, allocations: 127.6 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.5858, allocations: 160.5 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.028e-05/0.5859, allocations: 63.78 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/0.586, allocations: 79.64 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.586, allocations: 12 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.957e-05/0.5861, allocations: 16 kB / 1.019 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.5861, allocations: 47.86 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.5862, allocations: 87.41 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.5864, allocations: 219.3 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5865, allocations: 4 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5865, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.5865, allocations: 0 / 1.019 GB, free: 0.7578 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004786/0.587, allocations: 0.4934 MB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.587, allocations: 12.02 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.5871, allocations: 58.73 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.5871, allocations: 24.66 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.5874, allocations: 259.8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.5874, allocations: 12.75 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.5874, allocations: 20.31 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.5878, allocations: 336.9 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.5878, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.5879, allocations: 12 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.5879, allocations: 11.94 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.5882, allocations: 263.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.5892, allocations: 1.088 MB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.469e-05/0.5893, allocations: 169.1 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/0.5893, allocations: 80.14 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.5894, allocations: 79.28 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.5894, allocations: 110 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.5894, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.967e-05/0.5895, allocations: 53.36 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.5896, allocations: 130.7 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.59, allocations: 0.4926 MB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.5901, allocations: 25.7 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5902, allocations: 171.8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.5902, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.5902, allocations: 33.61 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5903, allocations: 342.8 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.5904, allocations: 43.97 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.598e-05/0.5905, allocations: 89.97 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.5906, allocations: 105.9 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5906, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002655/0.5909, allocations: 193.1 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5909, allocations: 7.938 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5909, allocations: 4 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5909, allocations: 0 / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.591, allocations: 19.98 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.5911, allocations: 4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-05/0.5912, allocations: 31.69 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.5912, allocations: 20.2 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: 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.0001313/0.5913, allocations: 245 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/0.5914, allocations: 132.6 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.5915, allocations: 142.7 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.632e-05/0.5915, allocations: 176.3 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.635e-05/0.5916, allocations: 180.2 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.847e-05/0.5916, allocations: 188.2 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.5919, allocations: 493.1 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/0.5919, allocations: 108.9 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.5919, allocations: 105 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.683e-05/0.592, allocations: 180.2 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.592, allocations: 184.2 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.994e-05/0.5921, allocations: 180.3 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-05/0.5922, allocations: 188.2 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.5923, allocations: 319.5 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.5924, allocations: 225.7 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.5925, allocations: 180.2 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.5926, allocations: 108.9 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.5926, allocations: 188.2 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.5927, allocations: 101 kB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003216/0.593, allocations: 362.9 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.593, allocations: 0 / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002639/0.5933, allocations: 28 kB / 1.028 GB, free: 7.562 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.0003968/0.5937, allocations: 0.8386 MB / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.5938, allocations: 64.27 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5938, allocations: 4.062 kB / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.5938, allocations: 16 / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.5943, allocations: 484.7 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.5971, allocations: 3.29 MB / 1.032 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.5974, allocations: 0.7749 MB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.141e-05/0.5975, allocations: 45.53 kB / 1.033 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.5976, allocations: 67.41 kB / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of SimCode: time 1.734e-06/0.5976, allocations: 0 / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.617, allocations: 4.509 MB / 1.037 GB, free: 13.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.473, allocations: 8.016 kB / 1.037 GB, free: 13.39 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_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_MatrixMax.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches