Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001326/0.001326, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001443/0.001443, allocations: 219.7 kB / 22.25 MB, free: 5.105 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.215/3.215, allocations: 0.49 GB / 0.7951 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_12_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.002167/0.002167, allocations: 62.19 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4086, allocations: 176.1 MB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002296/0.4109, allocations: 0.7587 MB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.4123, allocations: 0.8549 MB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.4124, allocations: 4 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.4126, allocations: 55.8 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.256e-05/0.4127, allocations: 39.77 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.471e-05/0.4128, allocations: 19.97 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.4129, allocations: 91.75 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.4131, allocations: 12 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.4132, allocations: 51.81 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.4134, allocations: 83.78 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.4134, allocations: 8 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.21e-05/0.4134, allocations: 8 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.4135, allocations: 35.91 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.4136, allocations: 35.78 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.4138, allocations: 119.7 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4138, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4138, allocations: 4 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.4138, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 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.0008875/0.4147, allocations: 397.6 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.4147, allocations: 12.03 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/0.4148, allocations: 34.69 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.4148, allocations: 16.84 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.4151, allocations: 156.8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.4151, allocations: 384 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.4151, allocations: 4.375 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.4155, allocations: 151.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4155, allocations: 3.938 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4156, allocations: 7.938 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4156, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.4161, allocations: 171.8 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008848/0.417, allocations: 467.9 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.4174, allocations: 161.1 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.4176, allocations: 85.73 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.4177, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.4177, allocations: 38.5 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.4177, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.000919/0.4186, allocations: 285.5 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.4187, allocations: 81.11 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.4189, allocations: 167.9 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.4189, allocations: 25.7 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.419, allocations: 112 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.419, allocations: 35.73 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.4191, allocations: 21.72 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4193, allocations: 326.8 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.4195, allocations: 75.92 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.4198, allocations: 93.62 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/0.4203, allocations: 177.5 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4203, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005753/0.4209, allocations: 201.5 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.4209, allocations: 8 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4209, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.4209, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.4213, allocations: 43.89 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4213, allocations: 0 / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.4214, allocations: 27.92 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.4214, allocations: 0 / 1.331 GB, free: 11.69 MB / 1.029 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.0001671/0.4216, allocations: 138.3 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.4217, allocations: 7.953 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.152e-05/0.4217, allocations: 20.33 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.4217, allocations: 4 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4217, allocations: 3.938 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4218, allocations: 0 / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.4221, allocations: 184.6 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4221, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.4223, allocations: 39.95 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4223, allocations: 8 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4223, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4223, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4223, allocations: 3.938 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007093/0.423, allocations: 386.5 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.4231, allocations: 11.95 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.4231, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.4233, allocations: 27.95 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.4233, allocations: 12.31 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.4233, allocations: 0 / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001096/0.4234, allocations: 125.7 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4234, allocations: 3.938 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002739/0.4237, allocations: 16 kB / 1.332 GB, free: 10.64 MB / 1.029 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.001033/0.4248, allocations: 0.9185 MB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005773/0.4253, allocations: 171.8 kB / 1.333 GB, free: 9.527 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4253, allocations: 0 / 1.333 GB, free: 9.527 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.4256, allocations: 87.91 kB / 1.333 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.426, allocations: 12 kB / 1.333 GB, free: 9.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.4291, allocations: 1.976 MB / 1.335 GB, free: 7.359 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.4292, allocations: 96.17 kB / 1.335 GB, free: 7.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.866e-05/0.4293, allocations: 23.97 kB / 1.335 GB, free: 7.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.443e-05/0.4294, allocations: 35.42 kB / 1.335 GB, free: 7.188 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4294, allocations: 4 kB / 1.335 GB, free: 7.184 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.4618, allocations: 3.322 MB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.75, allocations: 6.25 kB / 1.339 GB, free: 4 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai.u[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.y[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! Error: Could not read variable matGai1.u[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv. Warning: Get data of variable matGai1.u[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.785640550020617]