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.001752/0.001752, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001552/0.001552, allocations: 216.4 kB / 22.25 MB, free: 5.125 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.977 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.411/3.411, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.00217/0.00217, allocations: 63.27 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3798, allocations: 180.2 MB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002138/0.3819, allocations: 0.7727 MB / 1.354 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3831, allocations: 0.8588 MB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.3831, allocations: 0 / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.3833, allocations: 63.73 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.319e-05/0.3834, allocations: 35.83 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.977e-05/0.3835, allocations: 19.97 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3836, allocations: 87.75 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3837, allocations: 19.98 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.151e-05/0.3838, allocations: 43.84 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.384, allocations: 91.75 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.384, allocations: 8 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.767e-05/0.384, allocations: 8 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.3841, allocations: 31.91 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.3842, allocations: 47.67 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3843, allocations: 119.7 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3843, allocations: 3.938 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3844, allocations: 4 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3844, allocations: 4 kB / 1.355 GB, free: 6.188 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.0008092/0.3852, allocations: 385.7 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3852, allocations: 12.03 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.3853, allocations: 38.73 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.3853, allocations: 16.84 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3855, allocations: 150.3 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3855, allocations: 384 / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.3855, allocations: 8.375 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.3859, allocations: 147.8 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.386, allocations: 3.938 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.386, allocations: 8 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.386, allocations: 7.984 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.3865, allocations: 163.8 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.3874, allocations: 487.8 kB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.3878, allocations: 157.2 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.388, allocations: 97.62 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.388, allocations: 0 / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.3881, allocations: 38.56 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 8.41e-07/0.3881, allocations: 0 / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0009188/0.389, allocations: 285.3 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.3891, allocations: 85.03 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3892, allocations: 162.2 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.3892, allocations: 25.7 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.3893, allocations: 108.1 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.3893, allocations: 23.75 kB / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.3894, allocations: 25.7 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3895, allocations: 322.8 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.3898, allocations: 75.92 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.39, allocations: 101.6 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.3905, allocations: 173.5 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3905, allocations: 4 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005544/0.3911, allocations: 201.4 kB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3911, allocations: 9.719 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3911, allocations: 0 / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3911, allocations: 0 / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.3913, allocations: 39.95 kB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3913, allocations: 0 / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.3915, allocations: 36.38 kB / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3915, allocations: 0 / 1.358 GB, free: 2.621 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.0001227/0.3916, allocations: 137.7 kB / 1.358 GB, free: 2.477 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.3917, allocations: 11.89 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.3917, allocations: 16.34 kB / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3917, allocations: 11.98 kB / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3917, allocations: 0 / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3917, allocations: 0 / 1.358 GB, free: 2.434 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.392, allocations: 204.5 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.392, allocations: 4 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.3922, allocations: 35.91 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3922, allocations: 4 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3922, allocations: 0 / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3922, allocations: 3.984 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3922, allocations: 0 / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007314/0.393, allocations: 378.6 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.393, allocations: 11.91 kB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.393, allocations: 4 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.3932, allocations: 23.95 kB / 1.359 GB, free: 1.719 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.3933, allocations: 19.86 kB / 1.359 GB, free: 1.699 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.3933, allocations: 4 kB / 1.359 GB, free: 1.695 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.813e-05/0.3934, allocations: 124.1 kB / 1.359 GB, free: 1.574 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3934, allocations: 0 / 1.359 GB, free: 1.574 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000277/0.3937, allocations: 16 kB / 1.359 GB, free: 1.559 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.001036/0.3947, allocations: 0.9108 MB / 1.36 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005746/0.3953, allocations: 171.8 kB / 1.36 GB, free: 464 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3953, allocations: 0 / 1.36 GB, free: 464 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.3955, allocations: 95.84 kB / 1.36 GB, free: 368 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.3959, allocations: 8 kB / 1.36 GB, free: 360 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.399, allocations: 1.974 MB / 1.362 GB, free: 14.28 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.3994, allocations: 0.7119 MB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.997e-05/0.3995, allocations: 27.97 kB / 1.363 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.3996, allocations: 35.42 kB / 1.363 GB, free: 13.48 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3996, allocations: 0 / 1.363 GB, free: 13.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.43, allocations: 2.831 MB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.29, allocations: 4.656 kB / 1.366 GB, free: 10.79 MB / 1.061 GB " [Timeout remaining time 289] (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: 18.49167986400016]