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.001823/0.001823, allocations: 111.7 kB / 16.45 MB, free: 6.488 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.001867/0.001867, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.338/3.338, allocations: 0.49 GB / 0.7916 GB, free: 33.47 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.002097/0.002097, allocations: 75.72 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3537, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.00208/0.3558, allocations: 0.7506 MB / 1.322 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002339/0.356, allocations: 55.83 kB / 1.322 GB, free: 2.504 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.3561, allocations: 7.938 kB / 1.322 GB, free: 2.496 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.3562, allocations: 15.86 kB / 1.322 GB, free: 2.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.771e-05/0.3563, allocations: 15.91 kB / 1.322 GB, free: 2.465 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.3564, allocations: 23.97 kB / 1.322 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.3566, allocations: 127.6 kB / 1.322 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.3569, allocations: 132.5 kB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.3569, allocations: 63.8 kB / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.357, allocations: 87.62 kB / 1.322 GB, free: 2.035 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.3571, allocations: 12 kB / 1.322 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.496e-05/0.3571, allocations: 8 kB / 1.322 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.751e-05/0.3572, allocations: 51.86 kB / 1.322 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.947e-05/0.3573, allocations: 83.42 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.3575, allocations: 247.6 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3575, allocations: 0 / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3575, allocations: 0 / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3576, allocations: 3.938 kB / 1.322 GB, free: 1.637 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.0005956/0.3581, allocations: 0.4988 MB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.3582, allocations: 11.98 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.623e-05/0.3583, allocations: 58.73 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.3583, allocations: 32.75 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.3586, allocations: 255.9 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.3586, allocations: 16.73 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.3587, allocations: 20.38 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.3592, allocations: 344.9 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3592, allocations: 4 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.3592, allocations: 4 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.3593, allocations: 12 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.3596, allocations: 267.8 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.361, allocations: 1.092 MB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.3611, allocations: 169.1 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.3611, allocations: 80.14 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.3611, allocations: 75.28 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.387e-05/0.3612, allocations: 117.9 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.3612, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001055/0.3613, allocations: 53.56 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.3614, allocations: 126.7 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005818/0.362, allocations: 0.5004 MB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.362, allocations: 25.7 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3622, allocations: 171.9 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.3622, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.3622, allocations: 33.66 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3624, allocations: 346.8 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.3625, allocations: 51.95 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3626, allocations: 94.77 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.3628, allocations: 118.8 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3628, allocations: 0 / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003293/0.3631, allocations: 193.3 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.3631, allocations: 13.97 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3631, allocations: 3.984 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3632, allocations: 4 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3633, allocations: 23.92 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3633, allocations: 0 / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3634, allocations: 39.73 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.3634, allocations: 8 kB / 1.327 GB, free: 12.52 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.0002113/0.3636, allocations: 253.3 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.3637, allocations: 136.7 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.794e-05/0.3638, allocations: 130.8 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-05/0.3639, allocations: 188.1 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.221e-05/0.364, allocations: 180.2 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-05/0.3641, allocations: 184.3 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.3645, allocations: 493 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.824e-05/0.3645, allocations: 105 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-05/0.3646, allocations: 101 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.3647, allocations: 196.2 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.564e-05/0.3647, allocations: 176.3 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-05/0.3648, allocations: 184.2 kB / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.013e-05/0.3649, allocations: 180.3 kB / 1.33 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.3651, allocations: 335.6 kB / 1.33 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.3653, allocations: 217.9 kB / 1.33 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.3654, allocations: 188.5 kB / 1.33 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3655, allocations: 101 kB / 1.33 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.3656, allocations: 188.2 kB / 1.331 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.3656, allocations: 105 kB / 1.331 GB, free: 8.727 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004088/0.366, allocations: 363 kB / 1.331 GB, free: 8.375 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.366, allocations: 0 / 1.331 GB, free: 8.375 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002795/0.3663, allocations: 24 kB / 1.331 GB, free: 8.352 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.0005237/0.3668, allocations: 0.8398 MB / 1.332 GB, free: 7.484 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.367, allocations: 67.89 kB / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.367, allocations: 0.5 kB / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-06/0.367, allocations: 4 kB / 1.332 GB, free: 7.414 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.3676, allocations: 481.1 kB / 1.332 GB, free: 6.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.3713, allocations: 3.303 MB / 1.336 GB, free: 3.508 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.3718, allocations: 0.7749 MB / 1.336 GB, free: 2.707 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.3719, allocations: 53.52 kB / 1.336 GB, free: 2.656 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.372, allocations: 59.42 kB / 1.336 GB, free: 2.598 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.372, allocations: 0 / 1.336 GB, free: 2.598 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.4004, allocations: 4.627 MB / 1.341 GB, free: 14.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.665, allocations: 19.45 kB / 1.341 GB, free: 14.06 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.789200481027365]