Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001812/0.001812, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002128/0.002128, allocations: 215 kB / 22.25 MB, free: 5.082 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 8.012 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.16/3.16, allocations: 0.49 GB / 0.7951 GB, free: 33.3 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.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_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.001956/0.001956, allocations: 67.09 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3612, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2099/0.571, allocations: 169.7 MB / 1.492 GB, free: 7.582 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007072/0.5781, allocations: 5.782 MB / 1.497 GB, free: 1.781 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.5783, allocations: 7.938 kB / 1.497 GB, free: 1.773 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.5788, allocations: 95.31 kB / 1.497 GB, free: 1.68 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.579, allocations: 59.59 kB / 1.497 GB, free: 1.621 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.5791, allocations: 43.89 kB / 1.497 GB, free: 1.578 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.5794, allocations: 211.2 kB / 1.498 GB, free: 1.371 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.5796, allocations: 62.84 kB / 1.498 GB, free: 1.309 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.5798, allocations: 103.6 kB / 1.498 GB, free: 1.207 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.58, allocations: 79.62 kB / 1.498 GB, free: 1.129 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.58, allocations: 8 kB / 1.498 GB, free: 1.121 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 2.248e-05/0.58, allocations: 12 kB / 1.498 GB, free: 1.109 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.5801, allocations: 35.86 kB / 1.498 GB, free: 1.074 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.5802, allocations: 67.67 kB / 1.498 GB, free: 1.008 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.5804, allocations: 163.2 kB / 1.498 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5804, allocations: 0 / 1.498 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5804, allocations: 0 / 1.498 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.5804, allocations: 0 / 1.498 GB, free: 0.8477 MB / 1.186 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.0006093/0.581, allocations: 369.4 kB / 1.499 GB, free: 468 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5811, allocations: 8.031 kB / 1.499 GB, free: 460 kB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.566e-05/0.5811, allocations: 46.55 kB / 1.499 GB, free: 404 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.5812, allocations: 19.91 kB / 1.499 GB, free: 384 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.5815, allocations: 198.6 kB / 1.499 GB, free: 160 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.5815, allocations: 12 kB / 1.499 GB, free: 148 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.5816, allocations: 12 kB / 1.499 GB, free: 136 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.5818, allocations: 169.4 kB / 1.499 GB, free: 15.94 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.5818, allocations: 0 / 1.499 GB, free: 15.94 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.5819, allocations: 8 kB / 1.499 GB, free: 15.93 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.5819, allocations: 4 kB / 1.499 GB, free: 15.93 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.582, allocations: 67.83 kB / 1.499 GB, free: 15.86 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.5831, allocations: 1.12 MB / 1.5 GB, free: 14.67 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.5832, allocations: 169.1 kB / 1.5 GB, free: 14.49 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.5832, allocations: 84.08 kB / 1.5 GB, free: 14.41 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.5833, allocations: 75.31 kB / 1.5 GB, free: 14.33 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.793e-05/0.5833, allocations: 121.7 kB / 1.501 GB, free: 14.2 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5833, allocations: 4 kB / 1.501 GB, free: 14.2 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 8.767e-05/0.5834, allocations: 41.61 kB / 1.501 GB, free: 14.15 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.5835, allocations: 182.1 kB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.5838, allocations: 249 kB / 1.501 GB, free: 13.69 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.5838, allocations: 25.7 kB / 1.501 GB, free: 13.66 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5839, allocations: 135.9 kB / 1.501 GB, free: 13.52 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-06/0.5839, allocations: 4.016 kB / 1.501 GB, free: 13.52 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.584, allocations: 17.72 kB / 1.501 GB, free: 13.5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5841, allocations: 330.8 kB / 1.502 GB, free: 13.16 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.5842, allocations: 7.984 kB / 1.502 GB, free: 13.16 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.525e-05/0.5842, allocations: 71.78 kB / 1.502 GB, free: 13.06 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.086e-05/0.5843, allocations: 56.17 kB / 1.502 GB, free: 12.99 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5843, allocations: 0 / 1.502 GB, free: 12.99 MB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002052/0.5845, allocations: 93.39 kB / 1.502 GB, free: 12.89 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.5845, allocations: 4.156 kB / 1.502 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5845, allocations: 4 kB / 1.502 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.5846, allocations: 4 kB / 1.502 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.5846, allocations: 12 kB / 1.502 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.5846, allocations: 0 / 1.502 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.5847, allocations: 15.84 kB / 1.502 GB, free: 12.85 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.5847, allocations: 4 kB / 1.502 GB, free: 12.85 MB / 1.201 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.0001732/0.5849, allocations: 205.6 kB / 1.502 GB, free: 12.64 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.516e-05/0.585, allocations: 128.8 kB / 1.502 GB, free: 12.5 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.5851, allocations: 121.8 kB / 1.502 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.898e-05/0.5851, allocations: 184.2 kB / 1.502 GB, free: 12.19 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000107/0.5852, allocations: 180.2 kB / 1.503 GB, free: 12.01 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.253e-05/0.5853, allocations: 180.3 kB / 1.503 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.5857, allocations: 424.1 kB / 1.503 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.776e-05/0.5857, allocations: 113 kB / 1.503 GB, free: 11.24 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.5858, allocations: 105 kB / 1.503 GB, free: 11.13 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.5859, allocations: 180.2 kB / 1.504 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.048e-05/0.586, allocations: 176.3 kB / 1.504 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.719e-05/0.5861, allocations: 184.2 kB / 1.504 GB, free: 10.58 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-05/0.5862, allocations: 184.3 kB / 1.504 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.5863, allocations: 323.6 kB / 1.504 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.645e-05/0.5864, allocations: 124.9 kB / 1.504 GB, free: 9.926 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.963e-05/0.5865, allocations: 180.2 kB / 1.505 GB, free: 9.742 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.5866, allocations: 105 kB / 1.505 GB, free: 9.633 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.5867, allocations: 184.2 kB / 1.505 GB, free: 9.445 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.5868, allocations: 105 kB / 1.505 GB, free: 9.336 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001879/0.587, allocations: 188.4 kB / 1.505 GB, free: 9.152 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.587, allocations: 0 / 1.505 GB, free: 9.152 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002805/0.5872, allocations: 24 kB / 1.505 GB, free: 9.129 MB / 1.201 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.0005561/0.5878, allocations: 0.8203 MB / 1.506 GB, free: 8.277 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.5879, allocations: 19.94 kB / 1.506 GB, free: 8.258 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.5879, allocations: 0 / 1.506 GB, free: 8.258 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.5879, allocations: 0 / 1.506 GB, free: 8.258 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/0.5886, allocations: 0.5175 MB / 1.507 GB, free: 7.738 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.5908, allocations: 2.039 MB / 1.509 GB, free: 5.598 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.5912, allocations: 0.7242 MB / 1.509 GB, free: 4.848 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 8.529e-05/0.5912, allocations: 17.48 kB / 1.509 GB, free: 4.828 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.5913, allocations: 39.42 kB / 1.509 GB, free: 4.793 MB / 1.201 GB Notification: Performance of SimCode: time 5.01e-07/0.5913, allocations: 4 kB / 1.509 GB, free: 4.789 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.6226, allocations: 4.018 MB / 1.513 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.58, allocations: 6.297 kB / 1.513 GB, free: 0.9258 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_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_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.327423912000086]