Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001383/0.001383, allocations: 107.9 kB / 16.45 MB, free: 6.453 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.001564/0.001564, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.546/1.546, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.262/3.262, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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.MatrixMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_12_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.002011/0.002011, allocations: 81.16 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3833, allocations: 176.1 MB / 1.321 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002031/0.3853, allocations: 0.7585 MB / 1.322 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002244/0.3855, allocations: 51.83 kB / 1.322 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.3856, allocations: 7.938 kB / 1.322 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.3857, allocations: 19.86 kB / 1.322 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.3858, allocations: 11.92 kB / 1.322 GB, free: 2.418 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.3859, allocations: 27.97 kB / 1.322 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.3861, allocations: 119.7 kB / 1.322 GB, free: 2.273 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.3864, allocations: 132.5 kB / 1.322 GB, free: 2.141 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.3865, allocations: 67.8 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.3866, allocations: 75.64 kB / 1.322 GB, free: 2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.3866, allocations: 15.94 kB / 1.322 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.928e-05/0.3866, allocations: 16 kB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.3867, allocations: 55.83 kB / 1.322 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.813e-05/0.3868, allocations: 83.42 kB / 1.322 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.387, allocations: 235.7 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.387, allocations: 0 / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.863e-06/0.387, allocations: 0 / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.3871, allocations: 3.984 kB / 1.322 GB, free: 1.598 MB / 1.014 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.0005836/0.3876, allocations: 0.4949 MB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3877, allocations: 11.98 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.3877, allocations: 66.72 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.3878, allocations: 28.75 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.3881, allocations: 248 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3881, allocations: 12.75 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.3881, allocations: 16.38 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.3886, allocations: 344.8 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3886, allocations: 0 / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.3886, allocations: 8 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.3887, allocations: 16 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.389, allocations: 267.9 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.3903, allocations: 1.084 MB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.326e-05/0.3904, allocations: 173.1 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.3904, allocations: 84.08 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.3904, allocations: 75.28 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.3905, allocations: 106 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3905, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001036/0.3906, allocations: 61.44 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.3907, allocations: 130.7 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.3912, allocations: 0.4887 MB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3912, allocations: 25.7 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.3914, allocations: 179.8 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.3914, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.3914, allocations: 33.64 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3916, allocations: 334.8 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.3916, allocations: 47.97 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3917, allocations: 93.97 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3919, allocations: 109.8 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3919, allocations: 0 / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002981/0.3922, allocations: 185.3 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3922, allocations: 7.938 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3922, allocations: 8.219 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3922, allocations: 0 / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3923, allocations: 23.92 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3923, allocations: 4 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.992e-05/0.3924, allocations: 35.73 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3924, allocations: 8 kB / 1.327 GB, free: 12.54 MB / 1.029 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.0001773/0.3926, allocations: 249.1 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/0.3927, allocations: 128.7 kB / 1.327 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.768e-05/0.3928, allocations: 142.8 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.46e-05/0.3929, allocations: 180.2 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.488e-05/0.393, allocations: 180.2 kB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.975e-05/0.393, allocations: 176.3 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.3934, allocations: 497 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.123e-05/0.3934, allocations: 113 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.3935, allocations: 108.9 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.335e-05/0.3935, allocations: 184.2 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.329e-05/0.3936, allocations: 176.3 kB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.38e-05/0.3937, allocations: 184.2 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.468e-05/0.3938, allocations: 180.2 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.394, allocations: 335.6 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.3941, allocations: 217.9 kB / 1.33 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.3942, allocations: 184.4 kB / 1.33 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.3943, allocations: 105 kB / 1.33 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/0.3944, allocations: 196.2 kB / 1.33 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.3945, allocations: 105 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003914/0.3948, allocations: 359 kB / 1.331 GB, free: 8.398 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3948, allocations: 0 / 1.331 GB, free: 8.398 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002654/0.3951, allocations: 24 kB / 1.331 GB, free: 8.375 MB / 1.029 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.0005459/0.3957, allocations: 0.8398 MB / 1.332 GB, free: 7.508 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.3958, allocations: 63.89 kB / 1.332 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3958, allocations: 0 / 1.332 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.3958, allocations: 0 / 1.332 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.3964, allocations: 491.6 kB / 1.332 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.4, allocations: 3.274 MB / 1.336 GB, free: 3.566 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.4004, allocations: 0.7749 MB / 1.336 GB, free: 2.766 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.38e-05/0.4005, allocations: 45.53 kB / 1.336 GB, free: 2.723 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.4006, allocations: 63.42 kB / 1.336 GB, free: 2.66 MB / 1.029 GB Notification: Performance of SimCode: time 7.32e-07/0.4006, allocations: 3.938 kB / 1.336 GB, free: 2.656 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.428, allocations: 4.598 MB / 1.341 GB, free: 14.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.79, allocations: 26.11 kB / 1.341 GB, free: 14.14 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! Error: Could not read variable matMax2.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.833250163821504]