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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.572/2.572, allocations: 476.7 MB / 0.7628 GB, free: 15.32 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 75.88 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.806/0.808, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00184/0.8098, allocations: 0.7541 MB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002386/0.81, allocations: 51.61 kB / 1.272 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.8101, allocations: 5.594 kB / 1.272 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.8102, allocations: 23.03 kB / 1.272 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.8103, allocations: 16.83 kB / 1.272 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.8104, allocations: 26.3 kB / 1.272 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.8106, allocations: 121 kB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.8108, allocations: 90.36 kB / 1.272 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.03e-05/0.8109, allocations: 67.64 kB / 1.273 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/0.811, allocations: 78.12 kB / 1.273 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.811, allocations: 11.91 kB / 1.273 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.8e-05/0.8111, allocations: 11 kB / 1.273 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.8111, allocations: 51.05 kB / 1.273 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.8112, allocations: 84.64 kB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.8115, allocations: 237.8 kB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.8115, allocations: 4.844 kB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8115, allocations: 0 / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.8115, allocations: 1.672 kB / 1.273 GB, free: 6.859 MB / 0.9981 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.0004502/0.8119, allocations: 0.4963 MB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.812, allocations: 9.438 kB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.812, allocations: 56.5 kB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.8121, allocations: 24.39 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.8123, allocations: 254.3 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.8123, allocations: 15.67 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.8123, allocations: 16.44 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.8128, allocations: 346 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8128, allocations: 0 / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.8128, allocations: 13.81 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.8128, allocations: 10.91 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.8132, allocations: 263 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009855/0.8141, allocations: 1.083 MB / 1.276 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.695e-05/0.8142, allocations: 174 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.8142, allocations: 80.95 kB / 1.276 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.8142, allocations: 75.28 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.8142, allocations: 116.3 kB / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.8142, allocations: 0 / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.861e-05/0.8143, allocations: 60.58 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.8144, allocations: 128.4 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.8149, allocations: 0.4897 MB / 1.277 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-06/0.8149, allocations: 31.08 kB / 1.277 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/0.815, allocations: 174.9 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.815, allocations: 0 / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.815, allocations: 33.44 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.8151, allocations: 336.9 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-05/0.8151, allocations: 48.06 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.8152, allocations: 91.48 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.8153, allocations: 108.7 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.8153, allocations: 0.9375 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002669/0.8156, allocations: 187.8 kB / 1.278 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.8156, allocations: 12.22 kB / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8156, allocations: 2.688 kB / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.8156, allocations: 1.719 kB / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.848e-05/0.8157, allocations: 24.89 kB / 1.278 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.8157, allocations: 2 kB / 1.278 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.8158, allocations: 36.34 kB / 1.278 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.8158, allocations: 7.406 kB / 1.278 GB, free: 3.531 MB / 0.9981 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.0001219/0.816, allocations: 250.6 kB / 1.278 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.816, allocations: 139 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.8161, allocations: 133.4 kB / 1.278 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.8161, allocations: 177.2 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/0.8161, allocations: 184 kB / 1.279 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/0.8161, allocations: 177.1 kB / 1.279 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.8163, allocations: 499.9 kB / 1.279 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.099e-05/0.8164, allocations: 107.3 kB / 1.279 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.8165, allocations: 102.6 kB / 1.279 GB, free: 17.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.818e-05/0.8165, allocations: 185.8 kB / 1.28 GB, free: 17.65 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.8166, allocations: 177.9 kB / 1.28 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.916e-05/0.8167, allocations: 188.8 kB / 1.28 GB, free: 17.28 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.617e-05/0.8167, allocations: 183.4 kB / 1.28 GB, free: 17.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.8169, allocations: 326 kB / 1.28 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.817, allocations: 216 kB / 1.281 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/0.8171, allocations: 188.7 kB / 1.281 GB, free: 16.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.8172, allocations: 109.8 kB / 1.281 GB, free: 16.26 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.8173, allocations: 181.2 kB / 1.281 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.8173, allocations: 106.1 kB / 1.281 GB, free: 15.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003598/0.8177, allocations: 368.3 kB / 1.281 GB, free: 15.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.8177, allocations: 0 / 1.281 GB, free: 15.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002539/0.8179, allocations: 24.22 kB / 1.282 GB, free: 15.82 MB / 1.014 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.00048/0.8184, allocations: 0.8442 MB / 1.282 GB, free: 14.99 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.8186, allocations: 70.03 kB / 1.282 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8186, allocations: 1.031 kB / 1.282 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.8186, allocations: 448 / 1.282 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.8191, allocations: 486.1 kB / 1.283 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.8222, allocations: 3.278 MB / 1.286 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.8225, allocations: 0.7715 MB / 1.287 GB, free: 11.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.578e-05/0.8226, allocations: 48.3 kB / 1.287 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.8227, allocations: 62.3 kB / 1.287 GB, free: 11.87 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/0.8227, allocations: 0 / 1.287 GB, free: 11.87 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.8488, allocations: 4.583 MB / 1.291 GB, free: 11.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.934, allocations: 11.05 kB / 1.291 GB, free: 11.3 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.501751073999912]