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.0019/0.0019, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002621/0.002621, allocations: 211.3 kB / 22.24 MB, free: 5.117 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.809 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.327/3.327, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.002252/0.002252, allocations: 71.73 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3808, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.00266/0.3834, allocations: 0.741 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003006/0.3837, allocations: 48.3 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.3838, allocations: 7.938 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.3839, allocations: 19.8 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.384, allocations: 15.91 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.3842, allocations: 27.97 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.3844, allocations: 119.7 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.3846, allocations: 88.83 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3847, allocations: 71.78 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.3849, allocations: 83.64 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.3849, allocations: 12 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.956e-05/0.3849, allocations: 16 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/0.385, allocations: 47.86 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.3851, allocations: 63.55 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.3854, allocations: 247.2 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3854, allocations: 0 / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3854, allocations: 4 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.3854, allocations: 0 / 1.365 GB, free: 12.45 MB / 1.061 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.0006501/0.3861, allocations: 441.6 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3861, allocations: 8.031 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.942e-05/0.3862, allocations: 54.73 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.3862, allocations: 28.8 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.3866, allocations: 198.6 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3866, allocations: 16.75 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.3867, allocations: 16.38 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.3872, allocations: 340.9 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3872, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.3872, allocations: 16 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/0.3873, allocations: 15.98 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.3876, allocations: 263.8 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.3891, allocations: 1.038 MB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3892, allocations: 165.1 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.3892, allocations: 80.14 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.3893, allocations: 75.28 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/0.3893, allocations: 118 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.3893, allocations: 0 / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001202/0.3895, allocations: 61.39 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.3895, allocations: 134.6 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.3902, allocations: 0.4965 MB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3902, allocations: 25.7 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.3904, allocations: 171.9 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-06/0.3904, allocations: 0 / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/0.3904, allocations: 33.66 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3906, allocations: 342.8 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.3907, allocations: 51.95 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3908, allocations: 98.83 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.3909, allocations: 114.7 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3909, allocations: 4 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003327/0.3913, allocations: 193.5 kB / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3913, allocations: 11.94 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3913, allocations: 0 / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3913, allocations: 4 kB / 1.369 GB, free: 7.621 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3914, allocations: 19.98 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3914, allocations: 0 / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.3915, allocations: 39.73 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.3916, allocations: 8 kB / 1.37 GB, free: 7.555 MB / 1.061 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.0001916/0.3917, allocations: 249 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3918, allocations: 132.8 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.639e-05/0.3919, allocations: 138.8 kB / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.911e-05/0.392, allocations: 180.3 kB / 1.37 GB, free: 6.836 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.768e-05/0.3921, allocations: 180.3 kB / 1.37 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.751e-05/0.3922, allocations: 180.2 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.3925, allocations: 448.3 kB / 1.371 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-05/0.3925, allocations: 116.9 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.3926, allocations: 106 kB / 1.371 GB, free: 5.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.479e-05/0.3927, allocations: 184.2 kB / 1.371 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.27e-05/0.3928, allocations: 184.2 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.573e-05/0.3928, allocations: 176.4 kB / 1.372 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-05/0.3929, allocations: 180.2 kB / 1.372 GB, free: 5.012 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.3931, allocations: 339.6 kB / 1.372 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.3932, allocations: 144.8 kB / 1.372 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-05/0.3933, allocations: 180.5 kB / 1.372 GB, free: 4.324 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.3935, allocations: 112.9 kB / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.3935, allocations: 180.3 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.3936, allocations: 112.9 kB / 1.373 GB, free: 3.906 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004139/0.394, allocations: 359 kB / 1.373 GB, free: 3.555 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.394, allocations: 0 / 1.373 GB, free: 3.555 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000286/0.3943, allocations: 32 kB / 1.373 GB, free: 3.523 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.0005305/0.3948, allocations: 0.832 MB / 1.374 GB, free: 2.664 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.395, allocations: 67.89 kB / 1.374 GB, free: 2.598 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.395, allocations: 0 / 1.374 GB, free: 2.598 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.395, allocations: 7.938 kB / 1.374 GB, free: 2.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.3956, allocations: 485.1 kB / 1.375 GB, free: 2.113 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.3993, allocations: 3.289 MB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.3995, allocations: 172.2 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.3996, allocations: 49.61 kB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3997, allocations: 59.42 kB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of SimCode: time 8.21e-07/0.3997, allocations: 0 / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.4344, allocations: 5.249 MB / 1.383 GB, free: 9.312 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.07, allocations: 16.03 kB / 1.383 GB, free: 9.301 MB / 1.076 GB " [Timeout remaining time 288] (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: 19.228928504046053]