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.0008495/0.0008495, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008506/0.0008506, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8681/0.8681, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.666/1.666, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.9506 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.346e-05, allocations: 5.094 kB / 0.9506 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001339/0.001363, allocations: 0.7377 MB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002012/0.001564, allocations: 55.83 kB / 0.9513 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.001607, allocations: 3.938 kB / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.001734, allocations: 15.86 kB / 0.9514 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.001778, allocations: 15.86 kB / 0.9514 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.001913, allocations: 27.95 kB / 0.9514 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.002054, allocations: 123.7 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.002218, allocations: 88.89 kB / 0.9516 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.002296, allocations: 95.8 kB / 0.9517 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.727e-05/0.002363, allocations: 63.88 kB / 0.9518 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.002394, allocations: 12 kB / 0.9518 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.002413, allocations: 12 kB / 0.9518 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.002472, allocations: 55.77 kB / 0.9518 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.002519, allocations: 51.84 kB / 0.9519 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.002702, allocations: 235.2 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.002705, allocations: 0 / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.122e-06/0.002706, allocations: 0 / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.002711, allocations: 4 kB / 0.9521 GB, free: 1.832 MB / 0.9011 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.0004012/0.003112, allocations: 433.5 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.003148, allocations: 12.03 kB / 0.9525 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.003195, allocations: 54.73 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.003229, allocations: 28.73 kB / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.003413, allocations: 193.4 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.003426, allocations: 16.69 kB / 0.9528 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.003446, allocations: 24.34 kB / 0.9528 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.003848, allocations: 337.6 kB / 0.9532 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.003857, allocations: 192 / 0.9532 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.003873, allocations: 8.375 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.003899, allocations: 19.94 kB / 0.9532 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.004116, allocations: 263.8 kB / 0.9534 GB, free: 400 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007909/0.004907, allocations: 1.026 MB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.096e-05/0.004968, allocations: 173.1 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.00499, allocations: 80.14 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.005006, allocations: 75.28 kB / 0.9548 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.005036, allocations: 109.8 kB / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.005037, allocations: 0 / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.773e-05/0.005105, allocations: 49.56 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.005154, allocations: 130.6 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.005503, allocations: 0.5042 MB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.005511, allocations: 29.7 kB / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/0.005597, allocations: 168 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.005599, allocations: 0 / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.005639, allocations: 33.66 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.005723, allocations: 338.8 kB / 0.9561 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.005768, allocations: 47.97 kB / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.005833, allocations: 93.91 kB / 0.9562 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.008e-05/0.005923, allocations: 105.9 kB / 0.9563 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005925, allocations: 0 / 0.9563 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002132/0.006138, allocations: 185.3 kB / 0.9565 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.006152, allocations: 7.938 kB / 0.9565 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.006159, allocations: 8.219 kB / 0.9565 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.006172, allocations: 7.938 kB / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.006248, allocations: 23.92 kB / 0.9565 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.006254, allocations: 4 kB / 0.9565 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.196e-05/0.006316, allocations: 35.78 kB / 0.9566 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.006329, allocations: 8 kB / 0.9566 GB, free: 13 MB / 0.9167 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.0001071/0.006436, allocations: 253 kB / 0.9568 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.006487, allocations: 136.8 kB / 0.9569 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.006533, allocations: 134.6 kB / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/0.006572, allocations: 180.8 kB / 0.9572 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.204e-05/0.006614, allocations: 188.1 kB / 0.9574 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.721e-05/0.006651, allocations: 188.2 kB / 0.9576 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.006833, allocations: 444.2 kB / 0.958 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/0.006856, allocations: 105 kB / 0.9581 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.006879, allocations: 109.1 kB / 0.9582 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.659e-05/0.006915, allocations: 176.3 kB / 0.9584 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.006955, allocations: 184.3 kB / 0.9586 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.675e-05/0.006992, allocations: 184.2 kB / 0.9588 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.381e-05/0.007036, allocations: 184.2 kB / 0.9589 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.765e-05/0.007134, allocations: 323.6 kB / 0.9592 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.007196, allocations: 144.8 kB / 0.9594 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.007249, allocations: 184.3 kB / 0.9595 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.007315, allocations: 113 kB / 0.9597 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.00736, allocations: 188.1 kB / 0.9598 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.552e-05/0.007445, allocations: 101 kB / 0.9599 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000238/0.007683, allocations: 363 kB / 0.9603 GB, free: 9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.007683, allocations: 0 / 0.9603 GB, free: 9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000178/0.007861, allocations: 24 kB / 0.9603 GB, free: 8.977 MB / 0.9167 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.0002733/0.008134, allocations: 0.832 MB / 0.9611 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.008241, allocations: 68.14 kB / 0.9612 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008243, allocations: 0 / 0.9612 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.008244, allocations: 0 / 0.9612 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.008623, allocations: 484.8 kB / 0.9616 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.01084, allocations: 3.302 MB / 0.9649 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.289e-05/0.01094, allocations: 164.4 kB / 0.965 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.563e-05/0.011, allocations: 49.56 kB / 0.9651 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.01107, allocations: 68.47 kB / 0.9651 GB, free: 3.855 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.01107, allocations: 0 / 0.9651 GB, free: 3.855 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.029, allocations: 5.349 MB / 0.9704 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/6.908, allocations: 2.234 kB / 0.9704 GB, free: 14.65 MB / 0.9323 GB " [Timeout remaining time 293] (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/jenkins/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: 10.942260760813951]