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.001307/0.001307, 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.001555/0.001555, allocations: 219.7 kB / 22.26 MB, free: 5.117 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.984 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.326/3.326, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002613/0.002613, allocations: 71.06 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4406, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002107/0.4427, allocations: 0.7536 MB / 1.354 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002736/0.4429, allocations: 52.23 kB / 1.354 GB, free: 7.629 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.443, allocations: 7.938 kB / 1.354 GB, free: 7.621 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.4431, allocations: 15.86 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.749e-05/0.4432, allocations: 15.92 kB / 1.354 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.4434, allocations: 23.97 kB / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.4436, allocations: 119.7 kB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.4438, allocations: 88.83 kB / 1.354 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.968e-05/0.4439, allocations: 71.78 kB / 1.354 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.444, allocations: 75.64 kB / 1.354 GB, free: 7.207 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.4441, allocations: 12 kB / 1.354 GB, free: 7.195 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.864e-05/0.4441, allocations: 16 kB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.4442, allocations: 47.86 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.885e-05/0.4443, allocations: 91.34 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.4445, allocations: 235.2 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4445, allocations: 0 / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4445, allocations: 0 / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.4445, allocations: 3.938 kB / 1.354 GB, free: 6.809 MB / 1.045 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.0005589/0.4451, allocations: 445.6 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4451, allocations: 12.03 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/0.4452, allocations: 54.73 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.4453, allocations: 24.8 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.4456, allocations: 206 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.4456, allocations: 12.75 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.4456, allocations: 16.38 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.4461, allocations: 348.6 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.4461, allocations: 0 / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.4462, allocations: 12 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.4462, allocations: 11.98 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.4465, allocations: 271.7 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.4479, allocations: 1.065 MB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.448, allocations: 169.1 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.448, allocations: 80.14 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.4481, allocations: 75.28 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.4481, allocations: 114 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4481, allocations: 4 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001034/0.4482, allocations: 53.5 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.4483, allocations: 126.7 kB / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005804/0.4489, allocations: 0.5043 MB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4489, allocations: 25.7 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.449, allocations: 171.9 kB / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.449, allocations: 0 / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.4491, allocations: 29.7 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4493, allocations: 346.8 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.295e-05/0.4493, allocations: 51.95 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.4494, allocations: 90.83 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.4496, allocations: 122.7 kB / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4496, allocations: 0 / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003066/0.4499, allocations: 189.3 kB / 1.359 GB, free: 1.973 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4499, allocations: 11.94 kB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4499, allocations: 0 / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4499, allocations: 4 kB / 1.359 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.45, allocations: 19.98 kB / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4501, allocations: 7.938 kB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.4502, allocations: 35.72 kB / 1.359 GB, free: 1.895 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.4502, allocations: 12.25 kB / 1.359 GB, free: 1.883 MB / 1.045 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.0001777/0.4504, allocations: 249 kB / 1.359 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/0.4504, allocations: 132.8 kB / 1.359 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.433e-05/0.4505, allocations: 138.7 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.626e-05/0.4506, allocations: 176.3 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.709e-05/0.4507, allocations: 180.2 kB / 1.36 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.913e-05/0.4508, allocations: 188.3 kB / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.4511, allocations: 464.2 kB / 1.36 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.754e-05/0.4512, allocations: 108.9 kB / 1.361 GB, free: 180 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.4512, allocations: 108.9 kB / 1.361 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-05/0.4513, allocations: 188.1 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.359e-05/0.4514, allocations: 184.2 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.709e-05/0.4515, allocations: 180.3 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.726e-05/0.4516, allocations: 180.8 kB / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.4518, allocations: 331.6 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.4519, allocations: 140.8 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.452, allocations: 188.5 kB / 1.362 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.4521, allocations: 108.9 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.4522, allocations: 184.3 kB / 1.362 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.4523, allocations: 104.9 kB / 1.362 GB, free: 14.22 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004004/0.4527, allocations: 367 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4527, allocations: 0 / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002873/0.4529, allocations: 24 kB / 1.363 GB, free: 13.84 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.0005555/0.4535, allocations: 0.832 MB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.4537, allocations: 72.2 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4537, allocations: 4.125 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.487e-06/0.4537, allocations: 4 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.4543, allocations: 482.7 kB / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.458, allocations: 3.295 MB / 1.367 GB, free: 9.012 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.4584, allocations: 0.7749 MB / 1.368 GB, free: 8.211 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.539e-05/0.4585, allocations: 53.61 kB / 1.368 GB, free: 8.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4586, allocations: 59.42 kB / 1.368 GB, free: 8.102 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.4586, allocations: 0 / 1.368 GB, free: 8.102 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.4916, allocations: 4.758 MB / 1.373 GB, free: 3.492 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.43, allocations: 4.797 kB / 1.373 GB, free: 3.492 MB / 1.061 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable matMin1.y[3] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin1.y[3] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.53218618300025]