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.001419/0.001419, allocations: 108 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.001707/0.001707, allocations: 213.7 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.558/1.558, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.803/2.803, allocations: 476.7 MB / 0.7672 GB, free: 5.195 MB / 0.6231 GB " [Timeout remaining time 177] 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.002136/0.002136, allocations: 79.88 kB / 1.112 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.8013, allocations: 169.9 MB / 1.278 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002358/0.8037, allocations: 0.7469 MB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002769/0.8039, allocations: 59.81 kB / 1.279 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.804, allocations: 3.938 kB / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.8041, allocations: 19.86 kB / 1.279 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.945e-05/0.8042, allocations: 11.92 kB / 1.279 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.8043, allocations: 26.08 kB / 1.279 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.8046, allocations: 127.6 kB / 1.279 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.8048, allocations: 128.5 kB / 1.279 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.8049, allocations: 71.78 kB / 1.279 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.805, allocations: 75.64 kB / 1.28 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.8051, allocations: 12 kB / 1.28 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.714e-05/0.8051, allocations: 12 kB / 1.28 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.8052, allocations: 51.84 kB / 1.28 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.8053, allocations: 87.42 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.8056, allocations: 232.8 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8056, allocations: 0 / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8056, allocations: 4 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.8056, allocations: 0 / 1.28 GB, free: 11.68 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.0006847/0.8063, allocations: 0.4949 MB / 1.28 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.8063, allocations: 12.03 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.128e-05/0.8064, allocations: 54.73 kB / 1.28 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.8064, allocations: 32.69 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.8068, allocations: 257.2 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.8068, allocations: 12.75 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.8068, allocations: 16.38 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.8073, allocations: 340.9 kB / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.8073, allocations: 0 / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.8074, allocations: 12 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.8074, allocations: 12 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.8078, allocations: 265.5 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.8091, allocations: 1.084 MB / 1.282 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.8092, allocations: 165.1 kB / 1.283 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.8092, allocations: 80.17 kB / 1.283 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.8093, allocations: 91.14 kB / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/0.8093, allocations: 118 kB / 1.283 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.8093, allocations: 4 kB / 1.283 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001068/0.8094, allocations: 53.45 kB / 1.283 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.8095, allocations: 126.7 kB / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.8101, allocations: 0.4926 MB / 1.284 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.8101, allocations: 25.7 kB / 1.284 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.8102, allocations: 175.8 kB / 1.284 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-06/0.8102, allocations: 3.984 kB / 1.284 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.8103, allocations: 25.72 kB / 1.284 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.8105, allocations: 342.8 kB / 1.284 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.587e-05/0.8105, allocations: 47.95 kB / 1.284 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.8106, allocations: 97.91 kB / 1.284 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.8108, allocations: 105.9 kB / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.8108, allocations: 0 / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003277/0.8111, allocations: 189.3 kB / 1.285 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.8111, allocations: 10.28 kB / 1.285 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.8112, allocations: 4 kB / 1.285 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.8112, allocations: 0 / 1.285 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.8113, allocations: 19.98 kB / 1.285 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.8113, allocations: 4 kB / 1.285 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.8114, allocations: 39.72 kB / 1.285 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.8114, allocations: 12 kB / 1.285 GB, free: 6.613 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.0001953/0.8116, allocations: 249.2 kB / 1.285 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.8117, allocations: 136.8 kB / 1.285 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.822e-05/0.8118, allocations: 130.8 kB / 1.285 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001039/0.8119, allocations: 180.2 kB / 1.285 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.931e-05/0.812, allocations: 176.3 kB / 1.285 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.769e-05/0.8121, allocations: 184.2 kB / 1.286 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.8125, allocations: 498.8 kB / 1.286 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.344e-05/0.8125, allocations: 104.9 kB / 1.286 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.8126, allocations: 108.9 kB / 1.286 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-05/0.8127, allocations: 180.2 kB / 1.286 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/0.8128, allocations: 184.2 kB / 1.287 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.591e-05/0.8128, allocations: 184.3 kB / 1.287 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.283e-05/0.8129, allocations: 184.2 kB / 1.287 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.8131, allocations: 327.6 kB / 1.287 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.8133, allocations: 221.9 kB / 1.288 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.8134, allocations: 180.2 kB / 1.288 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.8135, allocations: 112.9 kB / 1.288 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.8136, allocations: 184.3 kB / 1.288 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-05/0.8137, allocations: 101.3 kB / 1.288 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004302/0.8141, allocations: 367 kB / 1.288 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8141, allocations: 0 / 1.288 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002904/0.8144, allocations: 24 kB / 1.288 GB, free: 2.461 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.0006037/0.815, allocations: 0.8402 MB / 1.289 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.8152, allocations: 67.92 kB / 1.289 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8152, allocations: 0 / 1.289 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.8152, allocations: 448 / 1.289 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/0.8158, allocations: 492.7 kB / 1.29 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.8198, allocations: 3.28 MB / 1.293 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.8203, allocations: 0.7671 MB / 1.294 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.8204, allocations: 49.52 kB / 1.294 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.8205, allocations: 63.42 kB / 1.294 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.8205, allocations: 0 / 1.294 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.851, allocations: 4.606 MB / 1.298 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.584/9.435, allocations: 5.234 kB / 1.298 GB, free: 8.23 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.79534559790045]