Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.002197/0.002197, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002886/0.002886, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.519/1.519, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.819/2.819, allocations: 476.7 MB / 0.7672 GB, free: 5.195 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.MatrixGain,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",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.002234/0.002234, allocations: 63.91 kB / 1.112 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8795/0.8817, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002329/0.884, allocations: 0.7742 MB / 1.279 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.8854, allocations: 0.8704 MB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.206e-05/0.8855, allocations: 3.938 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.8857, allocations: 51.81 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.069e-05/0.8858, allocations: 39.81 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.401e-05/0.8859, allocations: 15.97 kB / 1.28 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000177/0.8861, allocations: 83.83 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.8863, allocations: 19.92 kB / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.8864, allocations: 47.88 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.8866, allocations: 87.78 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.8866, allocations: 8 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.136e-05/0.8866, allocations: 8 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.8867, allocations: 31.91 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.8868, allocations: 51.66 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.887, allocations: 121.3 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.887, allocations: 0 / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.003e-06/0.887, allocations: 0 / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.887, allocations: 0 / 1.28 GB, free: 11.18 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009953/0.888, allocations: 474.7 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.888, allocations: 8.031 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.004e-05/0.8881, allocations: 38.75 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.8881, allocations: 12.84 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.8884, allocations: 204.2 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.8884, allocations: 8.375 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.8884, allocations: 8.312 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.8889, allocations: 147.9 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.8889, allocations: 3.938 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.8889, allocations: 4 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.8889, allocations: 0 / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/0.8895, allocations: 167.8 kB / 1.282 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.8906, allocations: 0.5008 MB / 1.282 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.891, allocations: 169 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.8913, allocations: 89.73 kB / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.8913, allocations: 0 / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.8913, allocations: 38.56 kB / 1.282 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.8913, allocations: 0 / 1.282 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0009849/0.8923, allocations: 281.7 kB / 1.283 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.8924, allocations: 81.11 kB / 1.283 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.8926, allocations: 160.2 kB / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.8926, allocations: 25.7 kB / 1.283 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.8927, allocations: 112 kB / 1.283 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.8927, allocations: 35.73 kB / 1.283 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.8928, allocations: 21.7 kB / 1.283 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.8929, allocations: 326.8 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.8932, allocations: 75.92 kB / 1.283 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.8935, allocations: 101.6 kB / 1.283 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.894, allocations: 169.6 kB / 1.284 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.894, allocations: 4 kB / 1.284 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005994/0.8946, allocations: 205.4 kB / 1.284 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.8946, allocations: 4 kB / 1.284 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.8946, allocations: 0 / 1.284 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.8946, allocations: 0 / 1.284 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.8948, allocations: 35.97 kB / 1.284 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.631e-05/0.8949, allocations: 7.984 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.895, allocations: 23.97 kB / 1.284 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.895, allocations: 0 / 1.284 GB, free: 7.43 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001425/0.8952, allocations: 137.7 kB / 1.284 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.8952, allocations: 11.91 kB / 1.284 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.8953, allocations: 20.25 kB / 1.284 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.8953, allocations: 3.984 kB / 1.284 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.8953, allocations: 3.938 kB / 1.284 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.8953, allocations: 4 kB / 1.284 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.8957, allocations: 225.5 kB / 1.284 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.8957, allocations: 4 kB / 1.284 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.8959, allocations: 31.95 kB / 1.284 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.8959, allocations: 4 kB / 1.284 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.8959, allocations: 4 kB / 1.284 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8959, allocations: 3.938 kB / 1.284 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8959, allocations: 0 / 1.284 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/0.8967, allocations: 386.5 kB / 1.285 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.8967, allocations: 85.06 kB / 1.285 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.8968, allocations: 7.984 kB / 1.285 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.897, allocations: 23.97 kB / 1.285 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.8971, allocations: 11.98 kB / 1.285 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.8971, allocations: 4 kB / 1.285 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001257/0.8972, allocations: 121 kB / 1.285 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8972, allocations: 4 kB / 1.285 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002835/0.8975, allocations: 19.94 kB / 1.285 GB, free: 6.234 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.001089/0.8986, allocations: 0.9131 MB / 1.286 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006138/0.8992, allocations: 180 kB / 1.286 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8992, allocations: 0 / 1.286 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.8995, allocations: 84.05 kB / 1.286 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.8998, allocations: 16.31 kB / 1.286 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.9032, allocations: 1.986 MB / 1.288 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.9036, allocations: 0.7158 MB / 1.289 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.905e-05/0.9037, allocations: 23.97 kB / 1.289 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.9038, allocations: 31.42 kB / 1.289 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.9038, allocations: 0 / 1.289 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.933, allocations: 2.708 MB / 1.291 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/9.028, allocations: 11.48 kB / 1.291 GB, free: 15.54 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_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_MatrixGain.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable matGai.u[1] in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai.u[1] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.y[1] in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.y[1] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.y[2] in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.y[2] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.u[2] in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.u[2] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.282056926982477]