Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00132/0.00132, 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.001509/0.001509, allocations: 209.7 kB / 22.24 MB, free: 4.859 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.988 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.441/3.441, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_latest_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.002091/0.002091, allocations: 78.38 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3825, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002039/0.3846, allocations: 0.737 MB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002393/0.3848, allocations: 56.23 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.437e-05/0.3849, allocations: 3.938 kB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.385, allocations: 15.86 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.385, allocations: 15.92 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.3852, allocations: 23.97 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.3854, allocations: 119.7 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.3856, allocations: 80.84 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.3857, allocations: 71.78 kB / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.3859, allocations: 79.64 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.3859, allocations: 16 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.498e-05/0.3859, allocations: 16 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.769e-05/0.386, allocations: 63.7 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.121e-05/0.3861, allocations: 67.61 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.3864, allocations: 231.2 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3864, allocations: 0 / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3864, allocations: 7.875 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3864, allocations: 0 / 1.365 GB, free: 12.54 MB / 1.061 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.0005468/0.3869, allocations: 433.7 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.387, allocations: 8.031 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.051e-05/0.387, allocations: 62.73 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.3871, allocations: 24.8 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.3874, allocations: 198.6 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3874, allocations: 16.75 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.3875, allocations: 16.38 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.388, allocations: 340.9 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.388, allocations: 0 / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.388, allocations: 8 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.388, allocations: 23.92 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.3884, allocations: 255.8 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.3897, allocations: 1.026 MB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3898, allocations: 173.1 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.026e-05/0.3899, allocations: 80.14 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.3899, allocations: 79.28 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.39, allocations: 106 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.39, allocations: 0 / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001085/0.3901, allocations: 69.36 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.3901, allocations: 126.7 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.3908, allocations: 0.4887 MB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3908, allocations: 25.7 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.3909, allocations: 171.9 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.3909, allocations: 0 / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.391, allocations: 37.66 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3912, allocations: 338.8 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.3912, allocations: 51.95 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3913, allocations: 89.97 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3915, allocations: 109.8 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3915, allocations: 0 / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003151/0.3918, allocations: 181.3 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3918, allocations: 7.938 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3918, allocations: 0 / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3918, allocations: 4 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3919, allocations: 23.92 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.392, allocations: 0 / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3921, allocations: 51.94 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.3921, allocations: 8 kB / 1.369 GB, free: 7.699 MB / 1.061 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.0001975/0.3923, allocations: 245.1 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.3924, allocations: 128.7 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.101e-05/0.3925, allocations: 142.7 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.823e-05/0.3926, allocations: 176.3 kB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-05/0.3927, allocations: 184.2 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.864e-05/0.3928, allocations: 180.3 kB / 1.37 GB, free: 6.617 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.3931, allocations: 452.1 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.697e-05/0.3932, allocations: 105 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.3932, allocations: 114 kB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-05/0.3933, allocations: 188.1 kB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.778e-05/0.3934, allocations: 180.3 kB / 1.371 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-05/0.3935, allocations: 184.2 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.307e-05/0.3936, allocations: 176.3 kB / 1.372 GB, free: 5.156 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.3938, allocations: 335.6 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3939, allocations: 136.8 kB / 1.372 GB, free: 4.664 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.394, allocations: 188.4 kB / 1.372 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.3941, allocations: 109 kB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/0.3942, allocations: 184.2 kB / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.3943, allocations: 101 kB / 1.373 GB, free: 4.066 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004235/0.3947, allocations: 371 kB / 1.373 GB, free: 3.703 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3947, allocations: 0 / 1.373 GB, free: 3.703 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002763/0.395, allocations: 24 kB / 1.373 GB, free: 3.68 MB / 1.061 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.0005481/0.3955, allocations: 0.8358 MB / 1.374 GB, free: 2.816 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.3957, allocations: 59.89 kB / 1.374 GB, free: 2.758 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3957, allocations: 0 / 1.374 GB, free: 2.758 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.085e-06/0.3957, allocations: 12 kB / 1.374 GB, free: 2.746 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/0.3964, allocations: 479.4 kB / 1.375 GB, free: 2.277 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.4001, allocations: 3.27 MB / 1.378 GB, free: 14.89 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.4003, allocations: 160.2 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.4004, allocations: 49.61 kB / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.4005, allocations: 67.42 kB / 1.378 GB, free: 14.6 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/0.4005, allocations: 0 / 1.378 GB, free: 14.6 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.4334, allocations: 5.233 MB / 1.383 GB, free: 9.512 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 8.094 kB / 1.383 GB, free: 9.508 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_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_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! Error: Could not read variable matMax2.y[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.10691115166992]