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.001619/0.001619, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002083/0.002083, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 8.023 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.873/2.873, allocations: 476.7 MB / 0.7707 GB, free: 4.246 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.002154/0.002154, allocations: 68.41 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 170 MB / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002151/0.3567, allocations: 0.747 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002553/0.357, allocations: 51.83 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.357, allocations: 3.938 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.3571, allocations: 19.86 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.3572, allocations: 11.92 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.3574, allocations: 30.5 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.3576, allocations: 123.6 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.3578, allocations: 88.83 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.57e-05/0.3579, allocations: 67.8 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.358, allocations: 75.64 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.3581, allocations: 12 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.019e-05/0.3581, allocations: 12 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.179e-05/0.3582, allocations: 55.83 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.718e-05/0.3583, allocations: 83.42 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.3585, allocations: 235.2 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3585, allocations: 4 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3585, allocations: 0 / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.3586, allocations: 0 / 1.285 GB, free: 10.05 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.0006808/0.3592, allocations: 429.6 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.3593, allocations: 12.03 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.426e-05/0.3594, allocations: 62.72 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.3595, allocations: 28.75 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.3598, allocations: 199.3 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.3599, allocations: 16.69 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.3599, allocations: 20.38 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.3605, allocations: 336.9 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3605, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.3605, allocations: 12 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.3606, allocations: 15.92 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.361, allocations: 270.1 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.3626, allocations: 1.061 MB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.3627, allocations: 165.1 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.3628, allocations: 84.08 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.506e-05/0.3628, allocations: 79.28 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.916e-05/0.3629, allocations: 110 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3629, allocations: 0 / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001271/0.3631, allocations: 57.45 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/0.3631, allocations: 130.7 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000663/0.3638, allocations: 0.4887 MB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3638, allocations: 25.7 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.364, allocations: 175.9 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-06/0.364, allocations: 0 / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.3641, allocations: 33.66 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.3643, allocations: 338.8 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.3643, allocations: 55.89 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3644, allocations: 85.97 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3646, allocations: 105.9 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3646, allocations: 4 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003237/0.3649, allocations: 185.3 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3649, allocations: 7.938 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3649, allocations: 4 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.365, allocations: 0 / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3651, allocations: 19.98 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3651, allocations: 4 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3652, allocations: 43.94 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.3652, allocations: 12 kB / 1.289 GB, free: 5.18 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.0002175/0.3654, allocations: 249 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.3655, allocations: 124.8 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.055e-05/0.3656, allocations: 138.7 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-05/0.3657, allocations: 180.2 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-05/0.3658, allocations: 180.3 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.557e-05/0.3658, allocations: 186 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.3662, allocations: 460.2 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.387e-05/0.3662, allocations: 108.9 kB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.3663, allocations: 101 kB / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.094e-05/0.3664, allocations: 192.1 kB / 1.291 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-05/0.3664, allocations: 188.2 kB / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-05/0.3665, allocations: 188.3 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-05/0.3666, allocations: 180.4 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3668, allocations: 319.6 kB / 1.292 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.3669, allocations: 152.8 kB / 1.292 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.3671, allocations: 180.2 kB / 1.292 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3672, allocations: 116.9 kB / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.3673, allocations: 176.6 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.3673, allocations: 105 kB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003934/0.3677, allocations: 363 kB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3677, allocations: 3.938 kB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002704/0.368, allocations: 28 kB / 1.293 GB, free: 1.148 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.0005698/0.3686, allocations: 0.8282 MB / 1.294 GB, free: 300 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.3688, allocations: 64.27 kB / 1.294 GB, free: 236 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.3688, allocations: 0 / 1.294 GB, free: 236 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/0.3688, allocations: 4 kB / 1.294 GB, free: 232 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006849/0.3694, allocations: 496.7 kB / 1.295 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.3731, allocations: 3.274 MB / 1.298 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.3736, allocations: 0.7749 MB / 1.299 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000105/0.3737, allocations: 49.62 kB / 1.299 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3738, allocations: 59.41 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.3738, allocations: 0 / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.406, allocations: 4.721 MB / 1.303 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.39, allocations: 15.28 kB / 1.303 GB, free: 6.84 MB / 0.9981 GB " [Timeout remaining time 288] (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.39684125399981]