Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001338/0.001338, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002362/0.002362, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.254/3.254, allocations: 0.49 GB / 0.7951 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_12_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.002064/0.002064, allocations: 78.78 kB / 1.154 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.4839, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002122/0.4861, allocations: 0.7559 MB / 1.327 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002968/0.4864, allocations: 56.23 kB / 1.327 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.4864, allocations: 11.94 kB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.4866, allocations: 15.8 kB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.4866, allocations: 7.984 kB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.4868, allocations: 27.97 kB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.4871, allocations: 123.6 kB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.4873, allocations: 88.83 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.366e-05/0.4874, allocations: 67.8 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.4875, allocations: 79.62 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.4876, allocations: 12 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.188e-05/0.4876, allocations: 12 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.4877, allocations: 55.84 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.4878, allocations: 83.42 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.4881, allocations: 247.2 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4881, allocations: 0 / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.315e-06/0.4881, allocations: 0 / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.4881, allocations: 3.938 kB / 1.328 GB, free: 260 kB / 1.014 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.0007024/0.4888, allocations: 433.7 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.4889, allocations: 8.031 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.648e-05/0.489, allocations: 58.73 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.489, allocations: 24.75 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.4894, allocations: 202.2 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.4894, allocations: 16.75 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.4895, allocations: 16.38 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006283/0.4901, allocations: 360.7 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.4901, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.4901, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.305e-05/0.4902, allocations: 16 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.4906, allocations: 263.8 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.4922, allocations: 1.061 MB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.4925, allocations: 173.1 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.4926, allocations: 84.14 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.4926, allocations: 75.28 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.054e-05/0.4927, allocations: 114 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.4927, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001473/0.4929, allocations: 49.56 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.4929, allocations: 130.6 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006673/0.4936, allocations: 0.4926 MB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.4936, allocations: 25.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.4938, allocations: 175.9 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.4938, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.576e-05/0.4939, allocations: 37.66 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.4942, allocations: 338.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.4942, allocations: 47.97 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.4944, allocations: 102.8 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.4945, allocations: 118.7 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4945, allocations: 4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003795/0.4949, allocations: 197.3 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.4949, allocations: 7.938 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.495, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.495, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.4951, allocations: 19.98 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4951, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.4952, allocations: 39.72 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.4952, allocations: 8.25 kB / 1.332 GB, free: 11.33 MB / 1.029 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.0002153/0.4955, allocations: 253 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.995e-05/0.4956, allocations: 128.8 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.4957, allocations: 138.8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/0.4958, allocations: 184.1 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.867e-05/0.4959, allocations: 180.2 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.634e-05/0.496, allocations: 184.2 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.4963, allocations: 472.2 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.6e-05/0.4964, allocations: 104.9 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.314e-05/0.4965, allocations: 101 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.4966, allocations: 180.2 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4967, allocations: 188.2 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.146e-05/0.4968, allocations: 180.2 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001009/0.4969, allocations: 180.2 kB / 1.334 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.4971, allocations: 323.6 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.4972, allocations: 152.7 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.4974, allocations: 184.5 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.4975, allocations: 112.9 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.4977, allocations: 180.3 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.039e-05/0.4977, allocations: 109 kB / 1.335 GB, free: 7.668 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004845/0.4982, allocations: 359 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4982, allocations: 0 / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003142/0.4985, allocations: 28 kB / 1.336 GB, free: 7.289 MB / 1.029 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.0006737/0.4992, allocations: 0.8376 MB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.4994, allocations: 64.27 kB / 1.337 GB, free: 6.363 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4994, allocations: 4.125 kB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.682e-06/0.4994, allocations: 7.938 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006627/0.5001, allocations: 485.1 kB / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.5039, allocations: 3.303 MB / 1.34 GB, free: 2.453 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.5043, allocations: 0.7749 MB / 1.341 GB, free: 1.652 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.5044, allocations: 45.62 kB / 1.341 GB, free: 1.609 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.5046, allocations: 67.41 kB / 1.341 GB, free: 1.543 MB / 1.029 GB Notification: Performance of SimCode: time 8.11e-07/0.5046, allocations: 0 / 1.341 GB, free: 1.543 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.5358, allocations: 4.757 MB / 1.346 GB, free: 12.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.54, allocations: 6.172 kB / 1.346 GB, free: 12.92 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable matMin1.y[3] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin1.y[3] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.670670163999603]