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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001063/0.001063, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00103/0.00103, allocations: 201 kB / 16.14 MB, free: 6.645 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.243/1.243, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.317/2.317, allocations: 437 MB / 0.71 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 71.89 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5247/0.5259, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001708/0.5276, allocations: 0.8134 MB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000178/0.5278, allocations: 55.81 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.5278, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.528, allocations: 11.88 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.44e-05/0.528, allocations: 7.984 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.5281, allocations: 27.97 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.5283, allocations: 119.6 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.5285, allocations: 156.5 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.5285, allocations: 51.78 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.787e-05/0.5286, allocations: 67.64 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.5286, allocations: 8 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.5287, allocations: 8 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.5287, allocations: 51.8 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.5288, allocations: 79.42 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.529, allocations: 219.3 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.529, allocations: 0 / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.31e-07/0.529, allocations: 0 / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.529, allocations: 0 / 1.018 GB, free: 1.094 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.0004699/0.5295, allocations: 0.4973 MB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.5295, allocations: 8.031 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.5296, allocations: 50.73 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.5296, allocations: 24.66 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.5299, allocations: 259.8 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.5299, allocations: 20.67 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.5299, allocations: 16.38 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.5303, allocations: 344.9 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5303, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.5304, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.5304, allocations: 23.92 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.5307, allocations: 252.8 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009986/0.5317, allocations: 1.088 MB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.644e-05/0.5318, allocations: 169.1 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.5318, allocations: 84.08 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.5319, allocations: 75.28 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.5319, allocations: 110 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5319, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.238e-05/0.532, allocations: 53.36 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.5321, allocations: 126.7 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.5325, allocations: 0.5003 MB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.5325, allocations: 25.7 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.5327, allocations: 167.8 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.5327, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.5327, allocations: 33.7 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5328, allocations: 342.8 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/0.5329, allocations: 51.89 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.533, allocations: 89.97 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.5331, allocations: 113.9 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5331, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002503/0.5334, allocations: 185.2 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.5334, allocations: 11.94 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.5334, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.5334, allocations: 4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.5335, allocations: 19.98 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5335, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.5336, allocations: 47.61 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.5336, allocations: 4 kB / 1.023 GB, free: 12.06 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.0001419/0.5338, allocations: 253.7 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.5338, allocations: 132.6 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.844e-05/0.5339, allocations: 138.8 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-05/0.534, allocations: 176.3 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.175e-05/0.5341, allocations: 188.2 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.664e-05/0.5341, allocations: 180.2 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.5344, allocations: 493.1 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.849e-05/0.5344, allocations: 104.9 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.5345, allocations: 105 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-05/0.5345, allocations: 184.2 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.5346, allocations: 180.2 kB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.632e-05/0.5347, allocations: 184.2 kB / 1.025 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.046e-05/0.5347, allocations: 184.2 kB / 1.025 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.5349, allocations: 323.5 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.535, allocations: 217.8 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/0.5351, allocations: 184.2 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.5352, allocations: 117.2 kB / 1.026 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.5352, allocations: 176.3 kB / 1.026 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.5353, allocations: 101 kB / 1.026 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003291/0.5356, allocations: 363 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5356, allocations: 3.938 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002401/0.5358, allocations: 24 kB / 1.027 GB, free: 7.906 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.0003826/0.5362, allocations: 0.8436 MB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.5364, allocations: 67.89 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.5364, allocations: 0 / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.5364, allocations: 448 / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.5369, allocations: 0.5469 MB / 1.028 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.5397, allocations: 3.308 MB / 1.031 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.54, allocations: 0.779 MB / 1.032 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.444e-05/0.5401, allocations: 49.53 kB / 1.032 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.5402, allocations: 63.41 kB / 1.032 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5402, allocations: 0 / 1.032 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.5539, allocations: 4.34 MB / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.5542, allocations: 204.9 kB / 1.037 GB, free: 13.58 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.196, allocations: 0 / 1.037 GB, free: 13.58 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