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.001697/0.001697, 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.001966/0.001966, allocations: 215 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.785 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.32/3.32, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.002066/0.002066, allocations: 73.75 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4024, allocations: 176.1 MB / 1.325 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002093/0.4045, allocations: 0.7246 MB / 1.326 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002822/0.4048, allocations: 52.23 kB / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.4049, allocations: 7.938 kB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.405, allocations: 19.86 kB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.4051, allocations: 11.92 kB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.4053, allocations: 27.97 kB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.4055, allocations: 123.6 kB / 1.326 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.4057, allocations: 84.83 kB / 1.326 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.4058, allocations: 71.8 kB / 1.326 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.4059, allocations: 83.64 kB / 1.326 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.4059, allocations: 12 kB / 1.326 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.978e-05/0.406, allocations: 8 kB / 1.326 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/0.406, allocations: 63.77 kB / 1.326 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.122e-05/0.4061, allocations: 59.61 kB / 1.326 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.4064, allocations: 251.2 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4064, allocations: 0 / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4064, allocations: 3.938 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.912e-06/0.4064, allocations: 0 / 1.327 GB, free: 0.7266 MB / 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.0005874/0.407, allocations: 429.7 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.407, allocations: 12.03 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.067e-05/0.4071, allocations: 62.67 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.4072, allocations: 24.75 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.4076, allocations: 206.3 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.4076, allocations: 12.75 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.4076, allocations: 20.31 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.4081, allocations: 344.9 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4081, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.4082, allocations: 12 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.4082, allocations: 15.94 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.4086, allocations: 271.8 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.4099, allocations: 1.03 MB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.41, allocations: 169.1 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.4101, allocations: 80.14 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.4101, allocations: 75.28 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.435e-05/0.4102, allocations: 121.9 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4102, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001082/0.4103, allocations: 49.56 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.4104, allocations: 126.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005976/0.411, allocations: 0.5042 MB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.411, allocations: 25.7 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.4111, allocations: 175.9 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/0.4111, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.4112, allocations: 29.7 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4114, allocations: 342.8 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.4115, allocations: 51.95 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.4116, allocations: 106.8 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.4117, allocations: 110.8 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4117, allocations: 4 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003286/0.4121, allocations: 189.2 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4121, allocations: 11.94 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4121, allocations: 416 / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4121, allocations: 8 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.4122, allocations: 23.98 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4122, allocations: 7.922 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.4123, allocations: 35.77 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.4124, allocations: 8 kB / 1.331 GB, free: 11.82 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.0001962/0.4126, allocations: 245.6 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.845e-05/0.4127, allocations: 136.7 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.4128, allocations: 130.8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.215e-05/0.4129, allocations: 184.2 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.134e-05/0.413, allocations: 184.2 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-05/0.413, allocations: 184.2 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.4134, allocations: 460.1 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-05/0.4134, allocations: 105 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.4135, allocations: 105 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.036e-05/0.4136, allocations: 188.1 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.883e-05/0.4137, allocations: 180.3 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.258e-05/0.4138, allocations: 180.2 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.454e-05/0.4138, allocations: 176.3 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.414, allocations: 331.6 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.4142, allocations: 140.8 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.4143, allocations: 188.5 kB / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.4144, allocations: 109 kB / 1.334 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.834e-05/0.4145, allocations: 184.3 kB / 1.334 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.4146, allocations: 104.9 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004079/0.415, allocations: 367 kB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.415, allocations: 0 / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002818/0.4153, allocations: 32 kB / 1.335 GB, free: 7.785 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.0005825/0.4158, allocations: 0.8281 MB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.416, allocations: 80.14 kB / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.416, allocations: 0 / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.416, allocations: 0 / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.4167, allocations: 479 kB / 1.336 GB, free: 6.383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.4206, allocations: 3.294 MB / 1.339 GB, free: 2.973 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.4208, allocations: 176.3 kB / 1.34 GB, free: 2.777 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.4209, allocations: 49.61 kB / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.421, allocations: 59.42 kB / 1.34 GB, free: 2.672 MB / 1.029 GB Notification: Performance of SimCode: time 1.152e-06/0.421, allocations: 0 / 1.34 GB, free: 2.672 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.455, allocations: 5.249 MB / 1.345 GB, free: 13.57 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.24, allocations: 0 / 1.345 GB, free: 13.57 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: 19.382015817798674]