Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MatrixMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_10_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.004941/0.004941, allocations: 97.77 kB / 15.73 MB, free: 5.602 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.001196/0.001196, allocations: 192.9 kB / 16.68 MB, free: 5.523 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.501/2.501, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.91 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7079, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002074/0.71, allocations: 0.7608 MB / 1.167 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002689/0.7103, allocations: 55.83 kB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.7104, allocations: 0 / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.7106, allocations: 23.8 kB / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.508e-05/0.7106, allocations: 11.98 kB / 1.167 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.7108, allocations: 23.97 kB / 1.167 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.711, allocations: 127.6 kB / 1.167 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.7113, allocations: 152.5 kB / 1.167 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.7114, allocations: 63.78 kB / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.7115, allocations: 79.62 kB / 1.167 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.7115, allocations: 12 kB / 1.167 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.356e-05/0.7116, allocations: 16 kB / 1.167 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.932e-05/0.7116, allocations: 47.86 kB / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.476e-05/0.7117, allocations: 87.42 kB / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.712, allocations: 242.7 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.712, allocations: 0 / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.753e-06/0.712, allocations: 0 / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.712, allocations: 0 / 1.168 GB, free: 2.094 MB / 0.8887 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.0005493/0.7126, allocations: 0.4987 MB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7126, allocations: 8.922 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.7127, allocations: 62.66 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.7127, allocations: 24.8 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.7131, allocations: 260 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.7131, allocations: 16.75 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.7131, allocations: 16.38 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.7136, allocations: 344.9 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.7136, allocations: 3.938 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.7137, allocations: 8 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.7137, allocations: 12 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.7141, allocations: 265 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.7153, allocations: 1.092 MB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.755e-05/0.7154, allocations: 169.1 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.7155, allocations: 88.17 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.7155, allocations: 87.27 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.7155, allocations: 110 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.7155, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001106/0.7157, allocations: 59.94 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.7157, allocations: 134.6 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.7162, allocations: 0.4925 MB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.7162, allocations: 25.7 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.7164, allocations: 183.8 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.7164, allocations: 0 / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.7164, allocations: 29.7 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.7166, allocations: 338.8 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.7166, allocations: 51.95 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.024e-05/0.7167, allocations: 102.8 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.7169, allocations: 118.7 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7169, allocations: 0 / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002987/0.7172, allocations: 193.3 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.7172, allocations: 7.938 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.7172, allocations: 7.938 kB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7172, allocations: 4.25 kB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.7174, allocations: 27.98 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7174, allocations: 0 / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.7175, allocations: 31.78 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.7175, allocations: 11.98 kB / 1.173 GB, free: 12.96 MB / 0.9044 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.0001523/0.7177, allocations: 249 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.7178, allocations: 128.7 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.7178, allocations: 134.8 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-05/0.7179, allocations: 188.2 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.687e-05/0.718, allocations: 180.2 kB / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-05/0.718, allocations: 180.2 kB / 1.174 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.7183, allocations: 489.1 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.978e-05/0.7184, allocations: 105 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.7184, allocations: 112.9 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.788e-05/0.7185, allocations: 180.2 kB / 1.174 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.7185, allocations: 180.2 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.778e-05/0.7186, allocations: 188.2 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.467e-05/0.7187, allocations: 176.3 kB / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.7188, allocations: 327.6 kB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.719, allocations: 225.8 kB / 1.175 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.719, allocations: 176.3 kB / 1.176 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.7192, allocations: 109 kB / 1.176 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.7192, allocations: 184.1 kB / 1.176 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.7193, allocations: 109.3 kB / 1.176 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003527/0.7196, allocations: 359 kB / 1.176 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7196, allocations: 4 kB / 1.176 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002812/0.7199, allocations: 28 kB / 1.176 GB, free: 8.805 MB / 0.9044 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.0004111/0.7203, allocations: 0.8397 MB / 1.177 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.7205, allocations: 75.91 kB / 1.177 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7205, allocations: 0 / 1.177 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.7205, allocations: 0 / 1.177 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.721, allocations: 491.6 kB / 1.178 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.7242, allocations: 3.299 MB / 1.181 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.7245, allocations: 0.7749 MB / 1.182 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.032e-05/0.7246, allocations: 49.53 kB / 1.182 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.7247, allocations: 63.41 kB / 1.182 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of SimCode: time 3.7e-07/0.7247, allocations: 0 / 1.182 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.745, allocations: 4.605 MB / 1.186 GB, free: 14.55 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.62, allocations: 11.89 kB / 1.186 GB, free: 14.54 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches