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.001045/0.001045, 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.001097/0.001097, allocations: 195.5 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.357/2.357, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5818/0.5832, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001646/0.5849, allocations: 0.7332 MB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001862/0.5851, allocations: 51.83 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.5851, allocations: 4 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.5853, allocations: 19.8 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.5853, allocations: 19.91 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.5855, allocations: 23.98 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.5856, allocations: 119.7 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.5858, allocations: 160.5 kB / 1.019 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.125e-05/0.5859, allocations: 67.78 kB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.586, allocations: 71.66 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.586, allocations: 12 kB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.803e-05/0.586, allocations: 16 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.5861, allocations: 51.84 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.5862, allocations: 83.42 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.5864, allocations: 227.3 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5864, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5864, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.5864, allocations: 4 kB / 1.019 GB, free: 0.8047 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.0004256/0.5868, allocations: 0.4895 MB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.5869, allocations: 12.03 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.5869, allocations: 58.66 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.587, allocations: 24.66 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.5872, allocations: 251.9 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.5872, allocations: 20.73 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.5872, allocations: 24.31 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.5876, allocations: 336.9 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5876, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.5877, allocations: 11.94 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.5877, allocations: 12 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.588, allocations: 259.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000931/0.5889, allocations: 1.088 MB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.332e-05/0.589, allocations: 169.1 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.589, allocations: 80.14 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.5891, allocations: 79.28 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.5891, allocations: 106 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.5891, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.28e-05/0.5892, allocations: 53.36 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.5892, allocations: 130.7 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.5897, allocations: 0.4965 MB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.5897, allocations: 29.64 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.5898, allocations: 175.8 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.5898, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.5898, allocations: 37.61 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.5899, allocations: 334.8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.59, allocations: 47.97 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.456e-05/0.5901, allocations: 89.97 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.5902, allocations: 105.9 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5902, allocations: 4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002423/0.5904, allocations: 189.1 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.5905, allocations: 7.938 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5905, allocations: 4 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.5905, allocations: 0 / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.5906, allocations: 19.98 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5906, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.64e-05/0.5907, allocations: 35.91 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.5907, allocations: 15.92 kB / 1.024 GB, free: 11.77 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.0001256/0.5908, allocations: 245.1 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.5909, allocations: 124.6 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.591, allocations: 146.7 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-05/0.591, allocations: 176.3 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.988e-05/0.5911, allocations: 180.3 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.462e-05/0.5911, allocations: 184.2 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.5914, allocations: 485.1 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/0.5914, allocations: 112.9 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.5914, allocations: 109 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.42e-05/0.5915, allocations: 180.2 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.5915, allocations: 188.2 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-05/0.5916, allocations: 184.2 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-05/0.5916, allocations: 184.2 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.5917, allocations: 327.5 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.693e-05/0.5918, allocations: 221.8 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/0.5919, allocations: 180.2 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.592, allocations: 108.9 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.5921, allocations: 184.2 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.5921, allocations: 104.9 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003043/0.5924, allocations: 359 kB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5924, allocations: 8 kB / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002436/0.5927, allocations: 24 kB / 1.028 GB, free: 7.609 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.0003388/0.593, allocations: 0.8321 MB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.5931, allocations: 72.02 kB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5931, allocations: 0 / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.5931, allocations: 3.953 kB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.5936, allocations: 476.8 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.5962, allocations: 3.29 MB / 1.032 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.5965, allocations: 0.7749 MB / 1.033 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.332e-05/0.5965, allocations: 45.53 kB / 1.033 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.5966, allocations: 67.41 kB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of SimCode: time 1.382e-06/0.5966, allocations: 0 / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.325/1.921, allocations: 4.514 MB / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.457/11.38, allocations: 12.59 kB / 1.037 GB, free: 13.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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