Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001805/0.001805, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002198/0.002198, allocations: 214.8 kB / 22.25 MB, free: 5.262 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.536/1.536, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.295/3.295, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",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.002124/0.002124, allocations: 73.42 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3871, allocations: 181.8 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002116/0.3892, allocations: 0.7434 MB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002378/0.3895, allocations: 48.3 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.3895, allocations: 3.938 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.3896, allocations: 27.78 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.3897, allocations: 11.92 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.3898, allocations: 27.97 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.39, allocations: 115.7 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.3902, allocations: 84.84 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.356e-05/0.3903, allocations: 75.72 kB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3904, allocations: 75.7 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.3905, allocations: 12 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.591e-05/0.3905, allocations: 19.94 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.921e-05/0.3906, allocations: 55.84 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.208e-05/0.3907, allocations: 71.53 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.391, allocations: 239.2 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.391, allocations: 3.938 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.391, allocations: 4 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.391, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 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.0006077/0.3916, allocations: 429.7 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3916, allocations: 11.97 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.766e-05/0.3917, allocations: 58.72 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.3918, allocations: 24.8 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.3921, allocations: 202.6 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.3921, allocations: 16.75 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.3922, allocations: 20.38 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.3927, allocations: 340.9 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3927, allocations: 3.984 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.3927, allocations: 11.98 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.3928, allocations: 16 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.3932, allocations: 267.8 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.3945, allocations: 1.03 MB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3946, allocations: 169.1 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/0.3946, allocations: 80.14 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.3947, allocations: 75.28 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.933e-05/0.3947, allocations: 122 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.3947, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001031/0.3949, allocations: 57.44 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.3949, allocations: 130.7 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.3955, allocations: 0.4887 MB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3956, allocations: 25.7 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3957, allocations: 179.8 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-06/0.3957, allocations: 0 / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.3958, allocations: 33.66 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.396, allocations: 342.8 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.148e-05/0.396, allocations: 43.97 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3962, allocations: 98.83 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.3964, allocations: 118.7 kB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3964, allocations: 3.938 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003356/0.3967, allocations: 197.3 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3967, allocations: 7.938 kB / 1.369 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.3967, allocations: 4 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3967, allocations: 0 / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3968, allocations: 19.98 kB / 1.369 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3968, allocations: 4 kB / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.397, allocations: 39.73 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.397, allocations: 12.22 kB / 1.37 GB, free: 7.539 MB / 1.061 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.000206/0.3972, allocations: 257 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3973, allocations: 128.7 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.3974, allocations: 138.7 kB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.19e-05/0.3975, allocations: 176.3 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001063/0.3976, allocations: 184.2 kB / 1.37 GB, free: 6.633 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001009/0.3977, allocations: 184.2 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.398, allocations: 448.3 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/0.3981, allocations: 104.9 kB / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.3981, allocations: 106 kB / 1.371 GB, free: 5.738 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.48e-05/0.3982, allocations: 184.2 kB / 1.371 GB, free: 5.551 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.723e-05/0.3983, allocations: 184.2 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.703e-05/0.3984, allocations: 184.2 kB / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001067/0.3985, allocations: 180.4 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.3987, allocations: 331.6 kB / 1.372 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.3989, allocations: 144.8 kB / 1.372 GB, free: 4.496 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.399, allocations: 180.5 kB / 1.372 GB, free: 4.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3991, allocations: 116.9 kB / 1.373 GB, free: 4.191 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.3993, allocations: 180.3 kB / 1.373 GB, free: 4.008 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.504e-05/0.3993, allocations: 104.9 kB / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004528/0.3998, allocations: 363 kB / 1.373 GB, free: 3.543 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3998, allocations: 4 kB / 1.373 GB, free: 3.539 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002705/0.4, allocations: 28 kB / 1.373 GB, free: 3.512 MB / 1.061 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.0005785/0.4006, allocations: 0.8242 MB / 1.374 GB, free: 2.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.4008, allocations: 71.89 kB / 1.374 GB, free: 2.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4008, allocations: 0 / 1.374 GB, free: 2.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.4008, allocations: 3.938 kB / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.4014, allocations: 489.6 kB / 1.375 GB, free: 2.105 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.4053, allocations: 3.299 MB / 1.378 GB, free: 14.69 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.4055, allocations: 164.2 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.4056, allocations: 45.62 kB / 1.378 GB, free: 14.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.4057, allocations: 63.41 kB / 1.378 GB, free: 14.4 MB / 1.076 GB Notification: Performance of SimCode: time 8.72e-07/0.4057, allocations: 7.938 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.4372, allocations: 5.246 MB / 1.383 GB, free: 9.297 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.86, allocations: 14.3 kB / 1.383 GB, free: 9.285 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.764031297061592]