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.001393/0.001393, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001594/0.001594, allocations: 213.1 kB / 22.24 MB, free: 5.262 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.789 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.889/2.889, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 176] 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.002242/0.002242, allocations: 69.61 kB / 1.117 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3351, allocations: 169.9 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002145/0.3372, allocations: 0.7493 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3383, allocations: 0.8472 MB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.3384, allocations: 0 / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.3386, allocations: 59.8 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.923e-05/0.3387, allocations: 39.83 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.707e-05/0.3387, allocations: 15.97 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.3389, allocations: 91.75 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.339, allocations: 17.67 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.58e-05/0.3391, allocations: 55.7 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.3392, allocations: 87.77 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.3393, allocations: 8 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.3393, allocations: 8 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.3394, allocations: 31.91 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.3394, allocations: 35.8 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.3396, allocations: 123 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3396, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3396, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3396, allocations: 4 kB / 1.285 GB, free: 10.21 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.0008041/0.3404, allocations: 381.8 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3404, allocations: 12.02 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.3405, allocations: 42.69 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.3405, allocations: 12.84 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.3407, allocations: 147.6 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3407, allocations: 16.36 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.3408, allocations: 4.375 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.3411, allocations: 147.9 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3412, allocations: 3.938 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3412, allocations: 3.984 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3412, allocations: 4 kB / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.3417, allocations: 171.8 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.3426, allocations: 467.9 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.343, allocations: 165.1 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.3432, allocations: 93.73 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3433, allocations: 0 / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.3433, allocations: 34.56 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.3433, allocations: 0 / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0009269/0.3442, allocations: 285.3 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.3443, allocations: 81.05 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.3444, allocations: 160 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.3445, allocations: 25.7 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.3445, allocations: 112.1 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.3446, allocations: 27.75 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.3446, allocations: 25.7 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3448, allocations: 326.8 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.345, allocations: 79.86 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.3453, allocations: 93.62 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.3458, allocations: 173.6 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3458, allocations: 0 / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005798/0.3464, allocations: 205.4 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3464, allocations: 10.33 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3464, allocations: 4.406 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3464, allocations: 4 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.3466, allocations: 27.97 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3466, allocations: 4 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.3468, allocations: 31.89 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3468, allocations: 4 kB / 1.288 GB, free: 6.664 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.0001191/0.3469, allocations: 129.8 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.347, allocations: 15.91 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.347, allocations: 24.33 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.347, allocations: 0 / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.347, allocations: 3.984 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.347, allocations: 4 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.3473, allocations: 184.6 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3473, allocations: 0 / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.3475, allocations: 35.95 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3475, allocations: 4 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3475, allocations: 4 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3475, allocations: 4 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3475, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006736/0.3482, allocations: 386.5 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.3482, allocations: 7.953 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.3483, allocations: 8 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3485, allocations: 19.97 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.3485, allocations: 15.97 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3485, allocations: 4 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001013/0.3486, allocations: 118.8 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3486, allocations: 0 / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002856/0.3489, allocations: 20 kB / 1.289 GB, free: 5.625 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.001031/0.3499, allocations: 0.9107 MB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005679/0.3505, allocations: 171.8 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3505, allocations: 3.938 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.3508, allocations: 87.92 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.3512, allocations: 13.88 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.3542, allocations: 1.974 MB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.3543, allocations: 100.1 kB / 1.292 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.391e-05/0.3544, allocations: 27.97 kB / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.3545, allocations: 31.42 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3545, allocations: 0 / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.387, allocations: 3.279 MB / 1.295 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.03, allocations: 8.562 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.975206737872213]