Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00172/0.00172, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.002038/0.002038, allocations: 210.4 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.304/3.304, allocations: 0.505 GB / 0.8066 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_latest_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.001999/0.001999, allocations: 75.58 kB / 1.172 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.397, allocations: 180.2 MB / 1.348 GB, free: 10.06 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002087/0.3991, allocations: 0.745 MB / 1.349 GB, free: 9.316 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002703/0.3993, allocations: 59.81 kB / 1.349 GB, free: 9.258 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.3994, allocations: 3.938 kB / 1.349 GB, free: 9.254 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.3995, allocations: 27.8 kB / 1.349 GB, free: 9.227 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.206e-05/0.3996, allocations: 7.984 kB / 1.349 GB, free: 9.219 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.3998, allocations: 27.95 kB / 1.349 GB, free: 9.191 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.4, allocations: 123.6 kB / 1.349 GB, free: 9.07 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.4002, allocations: 124.5 kB / 1.349 GB, free: 8.941 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.514e-05/0.4003, allocations: 71.78 kB / 1.349 GB, free: 8.871 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.4004, allocations: 79.62 kB / 1.349 GB, free: 8.793 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.4005, allocations: 12 kB / 1.349 GB, free: 8.781 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.946e-05/0.4005, allocations: 20 kB / 1.349 GB, free: 8.762 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.4006, allocations: 51.84 kB / 1.349 GB, free: 8.711 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.4007, allocations: 83.42 kB / 1.349 GB, free: 8.629 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.401, allocations: 231.7 kB / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.401, allocations: 7.938 kB / 1.349 GB, free: 8.395 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.332e-06/0.401, allocations: 0 / 1.349 GB, free: 8.395 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.401, allocations: 4 kB / 1.349 GB, free: 8.391 MB / 1.045 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.0006536/0.4016, allocations: 0.4948 MB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.4017, allocations: 15.98 kB / 1.35 GB, free: 7.828 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.89e-05/0.4017, allocations: 66.7 kB / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.4018, allocations: 24.8 kB / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.4021, allocations: 252 kB / 1.35 GB, free: 7.445 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4021, allocations: 12.75 kB / 1.35 GB, free: 7.434 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.4022, allocations: 16.38 kB / 1.35 GB, free: 7.418 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.4027, allocations: 348.9 kB / 1.351 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4027, allocations: 0 / 1.351 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.4027, allocations: 8 kB / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.4028, allocations: 19.98 kB / 1.351 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.4031, allocations: 263.8 kB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.4045, allocations: 1.084 MB / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.4046, allocations: 181 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.4046, allocations: 84.08 kB / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.4046, allocations: 75.28 kB / 1.352 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.654e-05/0.4047, allocations: 114 kB / 1.352 GB, free: 5.168 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.4047, allocations: 0 / 1.352 GB, free: 5.168 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001103/0.4048, allocations: 53.5 kB / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.4049, allocations: 134.7 kB / 1.353 GB, free: 4.965 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/0.4055, allocations: 0.4964 MB / 1.353 GB, free: 4.453 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.4055, allocations: 25.7 kB / 1.353 GB, free: 4.422 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.4057, allocations: 171.9 kB / 1.353 GB, free: 4.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.4057, allocations: 4 kB / 1.353 GB, free: 4.246 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.324e-05/0.4058, allocations: 29.7 kB / 1.353 GB, free: 4.211 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4059, allocations: 338.8 kB / 1.354 GB, free: 3.871 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.406, allocations: 55.94 kB / 1.354 GB, free: 3.816 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.4061, allocations: 98.83 kB / 1.354 GB, free: 3.695 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.4063, allocations: 118.7 kB / 1.354 GB, free: 3.555 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4063, allocations: 0 / 1.354 GB, free: 3.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003355/0.4066, allocations: 193.5 kB / 1.354 GB, free: 3.359 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4066, allocations: 7.938 kB / 1.354 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4066, allocations: 4 kB / 1.354 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4067, allocations: 0 / 1.354 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4068, allocations: 19.98 kB / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4068, allocations: 4 kB / 1.354 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.4069, allocations: 43.72 kB / 1.354 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.4069, allocations: 8 kB / 1.354 GB, free: 3.273 MB / 1.045 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.0002036/0.4071, allocations: 253 kB / 1.354 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.4072, allocations: 132.8 kB / 1.355 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.4073, allocations: 134.8 kB / 1.355 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.826e-05/0.4074, allocations: 180.2 kB / 1.355 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.992e-05/0.4075, allocations: 184.3 kB / 1.355 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.962e-05/0.4076, allocations: 180.2 kB / 1.355 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.408, allocations: 493.1 kB / 1.356 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.492e-05/0.408, allocations: 104.9 kB / 1.356 GB, free: 1.531 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.4081, allocations: 105 kB / 1.356 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.611e-05/0.4082, allocations: 188.2 kB / 1.356 GB, free: 1.23 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/0.4082, allocations: 184.2 kB / 1.356 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.157e-05/0.4083, allocations: 180.2 kB / 1.356 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.07e-05/0.4084, allocations: 188.8 kB / 1.357 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.4086, allocations: 327.6 kB / 1.357 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.4087, allocations: 217.8 kB / 1.357 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.4089, allocations: 188.5 kB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.409, allocations: 112.9 kB / 1.357 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.4091, allocations: 180.3 kB / 1.358 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.4091, allocations: 104.9 kB / 1.358 GB, free: 15.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004188/0.4095, allocations: 367 kB / 1.358 GB, free: 15.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4095, allocations: 3.938 kB / 1.358 GB, free: 15.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00028/0.4098, allocations: 24 kB / 1.358 GB, free: 15.1 MB / 1.061 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.0005198/0.4103, allocations: 0.8398 MB / 1.359 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.4105, allocations: 67.89 kB / 1.359 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4105, allocations: 0 / 1.359 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-06/0.4105, allocations: 3.938 kB / 1.359 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.4111, allocations: 481.6 kB / 1.359 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.4148, allocations: 3.303 MB / 1.363 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.4152, allocations: 0.7749 MB / 1.363 GB, free: 9.465 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.293e-05/0.4153, allocations: 49.52 kB / 1.363 GB, free: 9.418 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.4154, allocations: 59.42 kB / 1.363 GB, free: 9.359 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.4154, allocations: 4 kB / 1.363 GB, free: 9.355 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.4448, allocations: 4.632 MB / 1.368 GB, free: 4.828 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.556/9, allocations: 3.984 kB / 1.368 GB, free: 4.824 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin1.y[3] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.13162491400726]