Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.001746/0.001746, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001489/0.001489, allocations: 217.6 kB / 23.03 MB, free: 4.922 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.885/2.885, allocations: 476.8 MB / 0.7715 GB, free: 3.859 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.MatrixMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",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.002055/0.002055, allocations: 75.8 kB / 1.118 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.385, allocations: 169.9 MB / 1.284 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002153/0.3872, allocations: 0.7372 MB / 1.285 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000256/0.3874, allocations: 48.3 kB / 1.285 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.3875, allocations: 3.938 kB / 1.285 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.3876, allocations: 27.78 kB / 1.285 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.3877, allocations: 11.92 kB / 1.285 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.3879, allocations: 23.98 kB / 1.285 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.3881, allocations: 123.7 kB / 1.285 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.3883, allocations: 84.84 kB / 1.285 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.3884, allocations: 71.78 kB / 1.285 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.3885, allocations: 71.64 kB / 1.285 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.3886, allocations: 15.98 kB / 1.285 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-05/0.3886, allocations: 12 kB / 1.285 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.3887, allocations: 51.84 kB / 1.285 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.398e-05/0.3888, allocations: 67.55 kB / 1.285 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.3891, allocations: 251.1 kB / 1.286 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3891, allocations: 0 / 1.286 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.005e-06/0.3891, allocations: 0 / 1.286 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.3891, allocations: 0 / 1.286 GB, free: 1.688 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006017/0.3897, allocations: 433.6 kB / 1.286 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3898, allocations: 12.03 kB / 1.286 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.816e-05/0.3898, allocations: 4.562 kB / 1.286 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.59e-05/0.3898, allocations: 54.73 kB / 1.286 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.3899, allocations: 32.73 kB / 1.286 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3902, allocations: 199.4 kB / 1.286 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.3902, allocations: 20.75 kB / 1.286 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.3903, allocations: 12.38 kB / 1.286 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.3908, allocations: 348.7 kB / 1.287 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3908, allocations: 0 / 1.287 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.3908, allocations: 4 kB / 1.287 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/0.3909, allocations: 19.98 kB / 1.287 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.3912, allocations: 274.4 kB / 1.287 GB, free: 232 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.3925, allocations: 1.038 MB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.3926, allocations: 169.1 kB / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.3927, allocations: 80.14 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.3927, allocations: 75.47 kB / 1.288 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.3928, allocations: 113.8 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.3928, allocations: 4 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001239/0.3929, allocations: 57.48 kB / 1.289 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.393, allocations: 126.7 kB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006498/0.3936, allocations: 0.4964 MB / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3936, allocations: 25.7 kB / 1.289 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.3938, allocations: 175.8 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.3938, allocations: 4 kB / 1.289 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.3938, allocations: 33.66 kB / 1.289 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.394, allocations: 338.8 kB / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.3941, allocations: 51.97 kB / 1.29 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3942, allocations: 98.81 kB / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3943, allocations: 118.7 kB / 1.29 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3944, allocations: 0 / 1.29 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003334/0.3947, allocations: 201.2 kB / 1.29 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3947, allocations: 4 kB / 1.29 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3947, allocations: 8 kB / 1.29 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3947, allocations: 0 / 1.29 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3949, allocations: 19.98 kB / 1.29 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3949, allocations: 4 kB / 1.29 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.395, allocations: 39.73 kB / 1.29 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.395, allocations: 12.33 kB / 1.29 GB, free: 12.78 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0002352/0.3952, allocations: 253.9 kB / 1.29 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3953, allocations: 128.8 kB / 1.291 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.3954, allocations: 134.7 kB / 1.291 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000116/0.3956, allocations: 180.3 kB / 1.291 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001014/0.3957, allocations: 177.7 kB / 1.291 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001045/0.3958, allocations: 188.2 kB / 1.291 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.3962, allocations: 452.3 kB / 1.292 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.818e-05/0.3962, allocations: 104.9 kB / 1.292 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.469e-05/0.3963, allocations: 104.9 kB / 1.292 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.809e-05/0.3964, allocations: 188.2 kB / 1.292 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.3965, allocations: 184.2 kB / 1.292 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001152/0.3966, allocations: 184.2 kB / 1.292 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.743e-05/0.3967, allocations: 184.2 kB / 1.293 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.3969, allocations: 331.6 kB / 1.293 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.3971, allocations: 141 kB / 1.293 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.3972, allocations: 180.3 kB / 1.293 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.3974, allocations: 108.9 kB / 1.293 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.3975, allocations: 188.3 kB / 1.293 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.3975, allocations: 104.9 kB / 1.294 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004701/0.398, allocations: 363 kB / 1.294 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.398, allocations: 4 kB / 1.294 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002934/0.3983, allocations: 24 kB / 1.294 GB, free: 8.762 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.0006637/0.399, allocations: 0.8281 MB / 1.295 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.3992, allocations: 71.89 kB / 1.295 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3992, allocations: 3.938 kB / 1.295 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.3992, allocations: 0 / 1.295 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008234/0.4, allocations: 481.6 kB / 1.295 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.4039, allocations: 3.298 MB / 1.299 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.4041, allocations: 168.1 kB / 1.299 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.4042, allocations: 49.56 kB / 1.299 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.4043, allocations: 71.41 kB / 1.299 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/0.4043, allocations: 0 / 1.299 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.4309, allocations: 4.88 MB / 1.304 GB, free: 14.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12, allocations: 12.8 kB / 1.304 GB, free: 14.93 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.932221263065003]