Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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.001372/0.001372, allocations: 106.7 kB / 16.45 MB, free: 6.453 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.001558/0.001558, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.311/3.311, allocations: 0.5049 GB / 0.8066 GB, free: 23.08 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.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",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.002023/0.002023, allocations: 74.34 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4289, allocations: 180.2 MB / 1.348 GB, free: 9.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2174/0.6463, allocations: 169.5 MB / 1.513 GB, free: 15.77 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.007614/0.6539, allocations: 5.742 MB / 1.519 GB, free: 10.01 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.6541, allocations: 11.94 kB / 1.519 GB, free: 9.996 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.6546, allocations: 99.3 kB / 1.519 GB, free: 9.898 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.6548, allocations: 51.62 kB / 1.519 GB, free: 9.848 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.655, allocations: 39.94 kB / 1.519 GB, free: 9.809 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.6553, allocations: 215.1 kB / 1.519 GB, free: 9.598 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.6555, allocations: 66.64 kB / 1.519 GB, free: 9.531 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.6558, allocations: 107.6 kB / 1.519 GB, free: 9.426 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.656, allocations: 75.58 kB / 1.52 GB, free: 9.352 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.656, allocations: 12 kB / 1.52 GB, free: 9.34 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 2.804e-05/0.656, allocations: 8 kB / 1.52 GB, free: 9.332 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.6561, allocations: 35.84 kB / 1.52 GB, free: 9.297 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.6562, allocations: 67.67 kB / 1.52 GB, free: 9.23 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.6564, allocations: 159.2 kB / 1.52 GB, free: 9.074 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6564, allocations: 0 / 1.52 GB, free: 9.074 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6564, allocations: 4 kB / 1.52 GB, free: 9.07 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.6564, allocations: 4 kB / 1.52 GB, free: 9.066 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006824/0.6571, allocations: 438.6 kB / 1.52 GB, free: 8.59 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.6571, allocations: 11.98 kB / 1.52 GB, free: 8.578 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.245e-05/0.6572, allocations: 50.48 kB / 1.52 GB, free: 8.52 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.6573, allocations: 19.91 kB / 1.52 GB, free: 8.5 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.6576, allocations: 259.9 kB / 1.521 GB, free: 8.207 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.6576, allocations: 8 kB / 1.521 GB, free: 8.199 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.6577, allocations: 12 kB / 1.521 GB, free: 8.188 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.6579, allocations: 169.6 kB / 1.521 GB, free: 7.992 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6579, allocations: 4 kB / 1.521 GB, free: 7.988 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.658, allocations: 0 / 1.521 GB, free: 7.988 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.658, allocations: 4 kB / 1.521 GB, free: 7.984 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.6581, allocations: 71.84 kB / 1.521 GB, free: 7.914 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.6592, allocations: 1.152 MB / 1.522 GB, free: 6.684 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.6593, allocations: 169.1 kB / 1.522 GB, free: 6.508 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.6593, allocations: 88.08 kB / 1.522 GB, free: 6.418 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 5.408e-05/0.6594, allocations: 79.28 kB / 1.522 GB, free: 6.34 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/0.6595, allocations: 109.8 kB / 1.522 GB, free: 6.223 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 1.113e-06/0.6595, allocations: 3.938 kB / 1.522 GB, free: 6.219 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 9.305e-05/0.6596, allocations: 41.61 kB / 1.522 GB, free: 6.172 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.6597, allocations: 182.1 kB / 1.523 GB, free: 5.969 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.66, allocations: 257 kB / 1.523 GB, free: 5.707 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.66, allocations: 25.7 kB / 1.523 GB, free: 5.676 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.6602, allocations: 132 kB / 1.523 GB, free: 5.543 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.6602, allocations: 16 / 1.523 GB, free: 5.543 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.6602, allocations: 25.7 kB / 1.523 GB, free: 5.512 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.6604, allocations: 326.8 kB / 1.523 GB, free: 5.184 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.6604, allocations: 4 kB / 1.523 GB, free: 5.18 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-05/0.6605, allocations: 75.66 kB / 1.523 GB, free: 5.078 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.204e-05/0.6606, allocations: 56.25 kB / 1.523 GB, free: 5.008 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6606, allocations: 0 / 1.523 GB, free: 5.008 MB / 1.217 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001712/0.6607, allocations: 85.42 kB / 1.524 GB, free: 4.918 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.6607, allocations: 8 kB / 1.524 GB, free: 4.91 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.6607, allocations: 0 / 1.524 GB, free: 4.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6608, allocations: 4 kB / 1.524 GB, free: 4.906 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.6608, allocations: 15.92 kB / 1.524 GB, free: 4.891 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.6608, allocations: 0 / 1.524 GB, free: 4.891 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.413e-05/0.6609, allocations: 20.05 kB / 1.524 GB, free: 4.871 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.6609, allocations: 7.938 kB / 1.524 GB, free: 4.863 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001472/0.6611, allocations: 205.1 kB / 1.524 GB, free: 4.652 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.6612, allocations: 128.8 kB / 1.524 GB, free: 4.52 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.948e-05/0.6612, allocations: 121.6 kB / 1.524 GB, free: 4.395 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.371e-05/0.6613, allocations: 180.3 kB / 1.524 GB, free: 4.211 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.109e-05/0.6614, allocations: 184.2 kB / 1.524 GB, free: 4.023 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.271e-05/0.6615, allocations: 176.3 kB / 1.525 GB, free: 3.844 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.6618, allocations: 461.2 kB / 1.525 GB, free: 3.336 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.333e-05/0.6619, allocations: 105 kB / 1.525 GB, free: 3.227 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.6619, allocations: 101 kB / 1.525 GB, free: 3.121 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.662, allocations: 188.2 kB / 1.525 GB, free: 2.93 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.775e-05/0.6621, allocations: 180.3 kB / 1.526 GB, free: 2.746 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.13e-05/0.6622, allocations: 180.2 kB / 1.526 GB, free: 2.562 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.08e-05/0.6623, allocations: 176.3 kB / 1.526 GB, free: 2.383 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.6625, allocations: 327.6 kB / 1.526 GB, free: 2.039 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.6626, allocations: 202 kB / 1.526 GB, free: 1.816 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.6627, allocations: 184.2 kB / 1.527 GB, free: 1.629 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.6628, allocations: 105 kB / 1.527 GB, free: 1.52 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.663, allocations: 180.2 kB / 1.527 GB, free: 1.336 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.663, allocations: 105 kB / 1.527 GB, free: 1.227 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001977/0.6632, allocations: 188.4 kB / 1.527 GB, free: 1.043 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6632, allocations: 4 kB / 1.527 GB, free: 1.039 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0002606/0.6635, allocations: 20 kB / 1.527 GB, free: 1.02 MB / 1.217 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.0005731/0.6641, allocations: 0.828 MB / 1.528 GB, free: 164 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.6642, allocations: 24.17 kB / 1.528 GB, free: 140 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6642, allocations: 0 / 1.528 GB, free: 140 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-06/0.6642, allocations: 3.938 kB / 1.528 GB, free: 136 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/0.665, allocations: 0.502 MB / 1.528 GB, free: 15.63 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.6675, allocations: 2.049 MB / 1.53 GB, free: 13.48 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.6678, allocations: 0.7085 MB / 1.531 GB, free: 12.74 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 8.593e-05/0.6679, allocations: 29.56 kB / 1.531 GB, free: 12.71 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.668, allocations: 43.42 kB / 1.531 GB, free: 12.67 MB / 1.232 GB Notification: Performance of SimCode: time 4.91e-07/0.668, allocations: 0 / 1.531 GB, free: 12.67 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.6966, allocations: 3.898 MB / 1.535 GB, free: 8.871 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.62/9.317, allocations: 9.875 kB / 1.535 GB, free: 8.863 MB / 1.232 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_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_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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: 16.22150017810054]