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.001667/0.001667, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001946/0.001946, allocations: 215 kB / 20.13 MB, free: 2.949 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.643/1.643, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.964/2.964, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="cs",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.002082/0.002082, allocations: 75.88 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.011, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002061/1.013, allocations: 0.7526 MB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002281/1.013, allocations: 59.78 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/1.013, allocations: 5.031 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/1.013, allocations: 20.14 kB / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/1.013, allocations: 11.05 kB / 1.28 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/1.013, allocations: 23.83 kB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001949/1.013, allocations: 127.7 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/1.014, allocations: 130.9 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.62e-05/1.014, allocations: 66.31 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.944e-05/1.014, allocations: 77.36 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/1.014, allocations: 11.25 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.769e-05/1.014, allocations: 11.28 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.771e-05/1.014, allocations: 54.81 kB / 1.28 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/1.014, allocations: 85.39 kB / 1.28 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003164/1.014, allocations: 242.5 kB / 1.281 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/1.014, allocations: 0 / 1.281 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.014, allocations: 1.062 kB / 1.281 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.014, allocations: 0 / 1.281 GB, free: 10.88 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.0006389/1.015, allocations: 0.4926 MB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.015, allocations: 9.531 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.7e-05/1.015, allocations: 5.594 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.044e-05/1.015, allocations: 56.06 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/1.015, allocations: 33.2 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/1.016, allocations: 258.5 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/1.016, allocations: 12.12 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/1.016, allocations: 19.81 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/1.016, allocations: 339.8 kB / 1.282 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.016, allocations: 0 / 1.282 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/1.016, allocations: 9.484 kB / 1.282 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/1.016, allocations: 13.05 kB / 1.282 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/1.017, allocations: 262.8 kB / 1.282 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/1.018, allocations: 1.083 MB / 1.283 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/1.018, allocations: 175.6 kB / 1.283 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/1.018, allocations: 88.97 kB / 1.283 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/1.019, allocations: 79.22 kB / 1.283 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.539e-05/1.019, allocations: 111.5 kB / 1.284 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/1.019, allocations: 0 / 1.284 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001061/1.019, allocations: 53.38 kB / 1.284 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/1.019, allocations: 130.6 kB / 1.284 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/1.019, allocations: 0.4999 MB / 1.284 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/1.019, allocations: 25.7 kB / 1.284 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/1.02, allocations: 173.5 kB / 1.284 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/1.02, allocations: 0 / 1.284 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/1.02, allocations: 29.69 kB / 1.284 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.02, allocations: 341.2 kB / 1.285 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/1.02, allocations: 48.25 kB / 1.285 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/1.02, allocations: 90.91 kB / 1.285 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/1.02, allocations: 109.2 kB / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.02, allocations: 1.125 kB / 1.285 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003138/1.02, allocations: 180.3 kB / 1.285 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.02, allocations: 12.59 kB / 1.285 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.02, allocations: 1.406 kB / 1.285 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.02, allocations: 3.453 kB / 1.285 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/1.021, allocations: 26.73 kB / 1.285 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.021, allocations: 10.56 kB / 1.285 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/1.021, allocations: 39.86 kB / 1.285 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/1.021, allocations: 7.484 kB / 1.285 GB, free: 7.535 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.0001821/1.021, allocations: 245.4 kB / 1.286 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/1.021, allocations: 128.3 kB / 1.286 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.874e-05/1.021, allocations: 136.6 kB / 1.286 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.724e-05/1.021, allocations: 182.4 kB / 1.286 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.637e-05/1.021, allocations: 185 kB / 1.286 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.823e-05/1.021, allocations: 178.3 kB / 1.286 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/1.022, allocations: 488.5 kB / 1.287 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-05/1.022, allocations: 106.6 kB / 1.287 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/1.022, allocations: 102.8 kB / 1.287 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.495e-05/1.022, allocations: 190.4 kB / 1.287 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.689e-05/1.022, allocations: 180.9 kB / 1.287 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.216e-05/1.022, allocations: 182.5 kB / 1.287 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.3e-05/1.022, allocations: 187.9 kB / 1.288 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/1.022, allocations: 338 kB / 1.288 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/1.023, allocations: 216 kB / 1.288 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.92e-05/1.023, allocations: 182.2 kB / 1.288 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/1.023, allocations: 109.8 kB / 1.288 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/1.023, allocations: 178.3 kB / 1.289 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/1.023, allocations: 107 kB / 1.289 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004314/1.023, allocations: 367.4 kB / 1.289 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.023, allocations: 0 / 1.289 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002799/1.024, allocations: 25 kB / 1.289 GB, free: 3.832 MB / 0.9981 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/1.024, allocations: 0.8415 MB / 1.29 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001555/1.024, allocations: 65.25 kB / 1.29 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.024, allocations: 5 kB / 1.29 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/1.024, allocations: 0.5156 kB / 1.29 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/1.025, allocations: 481 kB / 1.29 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/1.029, allocations: 3.281 MB / 1.294 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/1.029, allocations: 0.7756 MB / 1.294 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001129/1.029, allocations: 52.3 kB / 1.294 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/1.029, allocations: 61.17 kB / 1.295 GB, free: 15.88 MB / 1.014 GB Notification: Performance of SimCode: time 1.102e-06/1.029, allocations: 0 / 1.295 GB, free: 15.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/1.051, allocations: 4.639 MB / 1.299 GB, free: 15.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.724/9.775, allocations: 15.22 kB / 1.299 GB, free: 15.28 MB / 1.014 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.55322605697438]