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.001943/0.001943, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002238/0.002238, allocations: 216.7 kB / 22.25 MB, free: 5.246 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.789 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.801/2.801, allocations: 476 MB / 0.7699 GB, free: 4.719 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.002121/0.002121, allocations: 71.25 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2994, allocations: 169.9 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002129/0.3015, allocations: 0.7235 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002445/0.3018, allocations: 55.83 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.3018, allocations: 7.938 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.3019, allocations: 15.86 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.302, allocations: 11.92 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.3021, allocations: 23.97 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.3023, allocations: 127.6 kB / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.3025, allocations: 90.52 kB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/0.3026, allocations: 63.8 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3027, allocations: 91.56 kB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.3028, allocations: 12 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.129e-05/0.3028, allocations: 12 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.3029, allocations: 51.84 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.848e-05/0.303, allocations: 67.55 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.3032, allocations: 238.5 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3032, allocations: 0 / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3032, allocations: 0 / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.3032, allocations: 0 / 1.284 GB, free: 10.85 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.0006094/0.3038, allocations: 431.7 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3039, allocations: 15.97 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.768e-05/0.304, allocations: 58.73 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.304, allocations: 24.75 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.3044, allocations: 199.4 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.3044, allocations: 16.73 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.3044, allocations: 16.38 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.3049, allocations: 344.9 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3049, allocations: 0 / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3049, allocations: 12 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.305, allocations: 15.98 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.3053, allocations: 267.8 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.3067, allocations: 1.03 MB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3068, allocations: 169.1 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.3068, allocations: 80.14 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.645e-05/0.3069, allocations: 79.28 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/0.3069, allocations: 106 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3069, allocations: 3.938 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001171/0.307, allocations: 57.45 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.347e-05/0.3071, allocations: 126.7 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006145/0.3077, allocations: 0.4887 MB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3078, allocations: 29.69 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.3079, allocations: 175.9 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-06/0.3079, allocations: 4 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.308, allocations: 29.7 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3082, allocations: 338.8 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.355e-05/0.3083, allocations: 47.97 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.3084, allocations: 89.97 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.3085, allocations: 113.8 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3085, allocations: 3.938 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000337/0.3089, allocations: 185.3 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.3089, allocations: 14.44 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3089, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.3089, allocations: 8.156 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3091, allocations: 27.92 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.505e-06/0.3091, allocations: 0 / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.3092, allocations: 35.78 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.3092, allocations: 4 kB / 1.289 GB, free: 6.008 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.0002089/0.3094, allocations: 253.1 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.3095, allocations: 128.7 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.3096, allocations: 130.8 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-05/0.3097, allocations: 188.2 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.615e-05/0.3098, allocations: 176.3 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.944e-05/0.3099, allocations: 186 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.3103, allocations: 448.2 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-05/0.3103, allocations: 105 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.3104, allocations: 108.9 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.344e-05/0.3105, allocations: 188.2 kB / 1.29 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.679e-05/0.3105, allocations: 176.3 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-05/0.3106, allocations: 180.2 kB / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.269e-05/0.3107, allocations: 184.4 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.3109, allocations: 327.6 kB / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.3111, allocations: 144.8 kB / 1.291 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.696e-05/0.3112, allocations: 184.1 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3113, allocations: 113 kB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.3114, allocations: 188.5 kB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.3115, allocations: 101 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004173/0.3119, allocations: 363 kB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3119, allocations: 0 / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002877/0.3122, allocations: 24 kB / 1.292 GB, free: 2 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.0005291/0.3127, allocations: 0.8359 MB / 1.293 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.3129, allocations: 64.27 kB / 1.293 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3129, allocations: 4.062 kB / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.3129, allocations: 4 kB / 1.293 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/0.3136, allocations: 484.7 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.3175, allocations: 3.286 MB / 1.297 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.3177, allocations: 168.1 kB / 1.297 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.3178, allocations: 45.62 kB / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.3179, allocations: 67.41 kB / 1.297 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of SimCode: time 1.683e-06/0.3179, allocations: 0 / 1.297 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.3506, allocations: 5.208 MB / 1.302 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.85, allocations: 8.719 kB / 1.302 GB, free: 7.824 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 & /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: 18.539437680970877]