Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 102.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 212.9 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7672 GB, free: 5.203 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 71.89 kB / 1.112 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7484/0.7505, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002068/0.7526, allocations: 0.7606 MB / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.7529, allocations: 63.83 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.7529, allocations: 3.938 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.753, allocations: 19.8 kB / 1.279 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.782e-05/0.7531, allocations: 11.98 kB / 1.279 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.7532, allocations: 23.97 kB / 1.279 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.7534, allocations: 123.6 kB / 1.279 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.7537, allocations: 136.5 kB / 1.279 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.7537, allocations: 63.78 kB / 1.279 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.188e-05/0.7538, allocations: 79.64 kB / 1.28 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.7539, allocations: 12 kB / 1.28 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.641e-05/0.7539, allocations: 12 kB / 1.28 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.384e-05/0.754, allocations: 47.86 kB / 1.28 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.754, allocations: 83.42 kB / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.7543, allocations: 244.8 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7543, allocations: 0 / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7543, allocations: 3.938 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7543, allocations: 0 / 1.28 GB, free: 11.74 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005773/0.7549, allocations: 0.4949 MB / 1.28 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.7549, allocations: 12.03 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.496e-05/0.755, allocations: 58.67 kB / 1.281 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.755, allocations: 28.75 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.7553, allocations: 249.3 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.7553, allocations: 16.75 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.7554, allocations: 20.38 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.7559, allocations: 340.9 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.7559, allocations: 3.938 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.7559, allocations: 8 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/0.7559, allocations: 15.92 kB / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.7563, allocations: 263.8 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.7576, allocations: 1.104 MB / 1.282 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.7577, allocations: 169.1 kB / 1.283 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.7577, allocations: 84.11 kB / 1.283 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.7578, allocations: 83.28 kB / 1.283 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.261e-05/0.7578, allocations: 114 kB / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.7578, allocations: 4 kB / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001009/0.7579, allocations: 49.55 kB / 1.283 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.758, allocations: 126.7 kB / 1.283 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005823/0.7586, allocations: 0.4964 MB / 1.284 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.7586, allocations: 25.7 kB / 1.284 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.7587, allocations: 179.8 kB / 1.284 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.7587, allocations: 0 / 1.284 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.7588, allocations: 37.66 kB / 1.284 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.759, allocations: 338.8 kB / 1.284 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.759, allocations: 47.97 kB / 1.284 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.7592, allocations: 98.83 kB / 1.284 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.7593, allocations: 118.7 kB / 1.284 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7593, allocations: 0 / 1.284 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003532/0.7597, allocations: 189.3 kB / 1.285 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.7597, allocations: 7.938 kB / 1.285 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.7597, allocations: 3.938 kB / 1.285 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7597, allocations: 4.25 kB / 1.285 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.7598, allocations: 23.98 kB / 1.285 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.7598, allocations: 4 kB / 1.285 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.811e-05/0.7599, allocations: 35.73 kB / 1.285 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.76, allocations: 15.98 kB / 1.285 GB, free: 6.617 MB / 0.9825 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.0001815/0.7601, allocations: 249 kB / 1.285 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/0.7602, allocations: 128.8 kB / 1.285 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.469e-05/0.7603, allocations: 130.8 kB / 1.285 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.498e-05/0.7604, allocations: 188.2 kB / 1.285 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.969e-05/0.7605, allocations: 184.2 kB / 1.285 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.325e-05/0.7606, allocations: 180.2 kB / 1.286 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.7609, allocations: 494.7 kB / 1.286 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-05/0.7609, allocations: 101 kB / 1.286 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.761, allocations: 108.9 kB / 1.286 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.109e-05/0.7611, allocations: 188.2 kB / 1.287 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.415e-05/0.7611, allocations: 180.2 kB / 1.287 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.796e-05/0.7612, allocations: 184.2 kB / 1.287 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.776e-05/0.7613, allocations: 176.3 kB / 1.287 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.7615, allocations: 335.6 kB / 1.287 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.7616, allocations: 221.8 kB / 1.288 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.7617, allocations: 180.3 kB / 1.288 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.7618, allocations: 109 kB / 1.288 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.7619, allocations: 180.2 kB / 1.288 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.7619, allocations: 109.2 kB / 1.288 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003922/0.7623, allocations: 363 kB / 1.288 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7623, allocations: 0 / 1.288 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002782/0.7626, allocations: 28 kB / 1.288 GB, free: 2.465 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.0005654/0.7632, allocations: 0.8364 MB / 1.289 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.7633, allocations: 71.92 kB / 1.289 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7633, allocations: 0 / 1.289 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.7633, allocations: 0 / 1.289 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.764, allocations: 485.7 kB / 1.29 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.7677, allocations: 3.303 MB / 1.293 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.7681, allocations: 0.7788 MB / 1.294 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.33e-05/0.7682, allocations: 45.53 kB / 1.294 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.7683, allocations: 63.41 kB / 1.294 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/0.7683, allocations: 4 kB / 1.294 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.7977, allocations: 4.629 MB / 1.298 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/9.247, allocations: 12.56 kB / 1.298 GB, free: 8.172 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_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_MatrixMin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable matMin1.y[3] in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin1.y[3] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[1] in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[1] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[2] in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[2] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.528103424003348]