Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002039/0.002039, allocations: 109.3 kB / 16.46 MB, free: 6.508 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.002674/0.002674, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.382/3.382, allocations: 0.505 GB / 0.8066 GB, free: 23.04 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.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_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.002005/0.002005, allocations: 67.08 kB / 1.172 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3941, allocations: 180.2 MB / 1.348 GB, free: 9.887 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002135/0.3962, allocations: 0.7739 MB / 1.349 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3974, allocations: 0.8592 MB / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.3974, allocations: 0 / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.3976, allocations: 59.8 kB / 1.349 GB, free: 8.188 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.3977, allocations: 39.77 kB / 1.35 GB, free: 8.148 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.074e-05/0.3977, allocations: 23.97 kB / 1.35 GB, free: 8.125 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.3979, allocations: 87.75 kB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.398, allocations: 19.97 kB / 1.35 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.82e-05/0.3981, allocations: 43.84 kB / 1.35 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.3983, allocations: 83.78 kB / 1.35 GB, free: 7.895 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.3983, allocations: 8 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.3983, allocations: 8 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.222e-05/0.3984, allocations: 39.88 kB / 1.35 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.3984, allocations: 51.67 kB / 1.35 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.3986, allocations: 119.7 kB / 1.35 GB, free: 7.672 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3986, allocations: 0 / 1.35 GB, free: 7.672 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3986, allocations: 3.938 kB / 1.35 GB, free: 7.668 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.3986, allocations: 0 / 1.35 GB, free: 7.668 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008038/0.3994, allocations: 466.8 kB / 1.35 GB, free: 7.16 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3995, allocations: 15.98 kB / 1.35 GB, free: 7.145 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.3995, allocations: 42.73 kB / 1.35 GB, free: 7.094 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.3996, allocations: 12.84 kB / 1.35 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3998, allocations: 200.2 kB / 1.351 GB, free: 6.848 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3998, allocations: 384 / 1.351 GB, free: 6.848 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3998, allocations: 8.375 kB / 1.351 GB, free: 6.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.4003, allocations: 147.8 kB / 1.351 GB, free: 6.684 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4003, allocations: 7.922 kB / 1.351 GB, free: 6.676 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.4003, allocations: 8 kB / 1.351 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4003, allocations: 0 / 1.351 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005675/0.4009, allocations: 163.8 kB / 1.351 GB, free: 6.508 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008932/0.4017, allocations: 0.5085 MB / 1.351 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.4022, allocations: 161.1 kB / 1.352 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.4025, allocations: 93.72 kB / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.4025, allocations: 0 / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.4025, allocations: 38.56 kB / 1.352 GB, free: 5.625 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.4025, allocations: 4 kB / 1.352 GB, free: 5.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0009444/0.4035, allocations: 285.3 kB / 1.352 GB, free: 5.336 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.4035, allocations: 81.11 kB / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.4037, allocations: 170.1 kB / 1.352 GB, free: 5.059 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.4037, allocations: 25.7 kB / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.4038, allocations: 104.1 kB / 1.352 GB, free: 4.922 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.4038, allocations: 31.73 kB / 1.352 GB, free: 4.891 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.4039, allocations: 17.72 kB / 1.352 GB, free: 4.867 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.404, allocations: 326.8 kB / 1.353 GB, free: 4.539 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.4043, allocations: 79.92 kB / 1.353 GB, free: 4.461 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.4046, allocations: 93.64 kB / 1.353 GB, free: 4.363 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.4051, allocations: 173.5 kB / 1.353 GB, free: 4.188 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4051, allocations: 0 / 1.353 GB, free: 4.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005739/0.4057, allocations: 209.4 kB / 1.353 GB, free: 3.977 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4057, allocations: 4 kB / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4057, allocations: 4 kB / 1.353 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4057, allocations: 0 / 1.353 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.4059, allocations: 35.95 kB / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4059, allocations: 0 / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.4061, allocations: 27.92 kB / 1.353 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.4061, allocations: 0 / 1.353 GB, free: 3.906 MB / 1.045 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.0001223/0.4062, allocations: 137.8 kB / 1.354 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.4062, allocations: 7.953 kB / 1.354 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.4063, allocations: 24.17 kB / 1.354 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4063, allocations: 4 kB / 1.354 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4063, allocations: 0 / 1.354 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4063, allocations: 0 / 1.354 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.4066, allocations: 233.4 kB / 1.354 GB, free: 3.438 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4066, allocations: 4 kB / 1.354 GB, free: 3.434 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.4068, allocations: 39.89 kB / 1.354 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4068, allocations: 4.469 kB / 1.354 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4068, allocations: 4 kB / 1.354 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4068, allocations: 0 / 1.354 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4068, allocations: 0 / 1.354 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.4075, allocations: 390.5 kB / 1.354 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.4076, allocations: 89.02 kB / 1.354 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.4076, allocations: 0 / 1.354 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.4078, allocations: 23.95 kB / 1.354 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.4079, allocations: 11.94 kB / 1.354 GB, free: 2.848 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.4079, allocations: 7.938 kB / 1.354 GB, free: 2.84 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001156/0.408, allocations: 123.2 kB / 1.354 GB, free: 2.719 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.408, allocations: 4 kB / 1.354 GB, free: 2.715 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002703/0.4083, allocations: 16 kB / 1.354 GB, free: 2.699 MB / 1.045 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.001156/0.4094, allocations: 0.9069 MB / 1.355 GB, free: 1.766 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006309/0.4101, allocations: 167.8 kB / 1.355 GB, free: 1.602 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4101, allocations: 0 / 1.355 GB, free: 1.602 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.4103, allocations: 91.86 kB / 1.356 GB, free: 1.512 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.4107, allocations: 15.98 kB / 1.356 GB, free: 1.496 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.4138, allocations: 1.984 MB / 1.358 GB, free: 15.42 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.4142, allocations: 0.7041 MB / 1.358 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.849e-05/0.4143, allocations: 31.95 kB / 1.358 GB, free: 14.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.4144, allocations: 31.44 kB / 1.358 GB, free: 14.63 MB / 1.061 GB Notification: Performance of SimCode: time 6.62e-07/0.4144, allocations: 0 / 1.358 GB, free: 14.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.4404, allocations: 2.714 MB / 1.361 GB, free: 12.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.7, allocations: 6.047 kB / 1.361 GB, free: 12.02 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_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_MatrixGain.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai.u[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.y[1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.y[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.y[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.y[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.u[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.u[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.782223070971668]