Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.001992/0.001992, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002302/0.002302, allocations: 217 kB / 22.25 MB, free: 4.855 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.801 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.89/2.89, 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.MatrixMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",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.002166/0.002166, allocations: 67.34 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3321, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002128/0.3342, allocations: 0.7237 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002483/0.3344, allocations: 59.77 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.3345, allocations: 3.938 kB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.3346, allocations: 23.78 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-05/0.3347, allocations: 15.92 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.3349, allocations: 19.98 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.3351, allocations: 123.7 kB / 1.284 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.3353, allocations: 82.53 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.003e-05/0.3354, allocations: 71.72 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3355, allocations: 87.62 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.3355, allocations: 16 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.239e-05/0.3356, allocations: 12 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.3356, allocations: 51.8 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.3357, allocations: 67.59 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.336, allocations: 234.3 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.336, allocations: 0 / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.336, allocations: 0 / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.336, allocations: 3.938 kB / 1.284 GB, free: 10.81 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005754/0.3366, allocations: 429.7 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3366, allocations: 8.031 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.006e-05/0.3367, allocations: 62.73 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.3368, allocations: 24.75 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.3371, allocations: 203.4 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3371, allocations: 12.75 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.3371, allocations: 16.38 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.3376, allocations: 340.9 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3376, allocations: 4 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.3377, allocations: 12 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.3377, allocations: 12 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.3381, allocations: 271.7 kB / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.3394, allocations: 1.03 MB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.859e-05/0.3395, allocations: 169.1 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.3395, allocations: 80.14 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.3395, allocations: 83.27 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.3396, allocations: 106 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3396, allocations: 0 / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001234/0.3397, allocations: 61.39 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.3398, allocations: 126.7 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.3404, allocations: 0.4926 MB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.3404, allocations: 25.7 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.3405, allocations: 171.9 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.3405, allocations: 8 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.3406, allocations: 29.7 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3407, allocations: 342.8 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.3408, allocations: 51.95 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3409, allocations: 93.95 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.3411, allocations: 109.8 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3411, allocations: 0 / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003167/0.3414, allocations: 181.3 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3414, allocations: 11.94 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3414, allocations: 0 / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3414, allocations: 4 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3415, allocations: 27.92 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3415, allocations: 4.219 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.3417, allocations: 39.77 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3417, allocations: 4 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.00019/0.3419, allocations: 245.1 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.342, allocations: 132.7 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.16e-05/0.342, allocations: 130.8 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.898e-05/0.3421, allocations: 192.2 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.335e-05/0.3422, allocations: 176.3 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.707e-05/0.3423, allocations: 182 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.3426, allocations: 448.2 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.666e-05/0.3427, allocations: 108.9 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.3428, allocations: 104.9 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.86e-05/0.3429, allocations: 192.2 kB / 1.29 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.695e-05/0.343, allocations: 180.2 kB / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.432e-05/0.3431, allocations: 180.2 kB / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.613e-05/0.3432, allocations: 180.3 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.3434, allocations: 327.6 kB / 1.291 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.3435, allocations: 144.8 kB / 1.291 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.3436, allocations: 184.1 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3438, allocations: 113 kB / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/0.3438, allocations: 184.5 kB / 1.292 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.3439, allocations: 105 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000429/0.3443, allocations: 367 kB / 1.292 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3443, allocations: 0 / 1.292 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002705/0.3446, allocations: 24 kB / 1.292 GB, free: 1.953 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0005396/0.3451, allocations: 0.8358 MB / 1.293 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.3453, allocations: 63.89 kB / 1.293 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3453, allocations: 4 kB / 1.293 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.3453, allocations: 448 / 1.293 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.3459, allocations: 484.7 kB / 1.294 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.3498, allocations: 3.274 MB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.35, allocations: 160.2 kB / 1.297 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.3501, allocations: 53.56 kB / 1.297 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3502, allocations: 67.41 kB / 1.297 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.3502, allocations: 0 / 1.297 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.3853, allocations: 5.217 MB / 1.302 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.89, allocations: 2.625 kB / 1.302 GB, free: 7.793 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_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_MatrixMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable matMax2.y[1] in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[1] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! Error: Could not read variable matMax2.y[2] in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[2] from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.90796858491376]