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.001725/0.001725, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001415/0.001415, allocations: 217 kB / 22.24 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.777 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.127/3.127, allocations: 0.49 GB / 0.7951 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] 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.002023/0.002023, allocations: 76.98 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.384, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2019/0.5859, allocations: 146.5 MB / 1.469 GB, free: 14.41 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006563/0.5924, allocations: 5.182 MB / 1.474 GB, free: 9.211 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.5927, allocations: 7.938 kB / 1.474 GB, free: 9.203 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.5932, allocations: 103.3 kB / 1.474 GB, free: 9.102 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.5935, allocations: 51.61 kB / 1.474 GB, free: 9.051 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.5936, allocations: 31.95 kB / 1.474 GB, free: 9.02 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.594, allocations: 215.2 kB / 1.474 GB, free: 8.809 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.5942, allocations: 70.69 kB / 1.474 GB, free: 8.738 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.5945, allocations: 107.6 kB / 1.475 GB, free: 8.633 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.5946, allocations: 71.62 kB / 1.475 GB, free: 8.562 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.5946, allocations: 12 kB / 1.475 GB, free: 8.551 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.632e-05/0.5947, allocations: 8 kB / 1.475 GB, free: 8.543 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.5947, allocations: 31.86 kB / 1.475 GB, free: 8.512 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.613e-05/0.5948, allocations: 55.73 kB / 1.475 GB, free: 8.457 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.5951, allocations: 171.2 kB / 1.475 GB, free: 8.289 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5951, allocations: 3.938 kB / 1.475 GB, free: 8.285 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5951, allocations: 0 / 1.475 GB, free: 8.285 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.5951, allocations: 0 / 1.475 GB, free: 8.285 MB / 1.17 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.0006855/0.5958, allocations: 373.4 kB / 1.475 GB, free: 7.891 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.5958, allocations: 8.031 kB / 1.475 GB, free: 7.883 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.5959, allocations: 46.55 kB / 1.475 GB, free: 7.828 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.5959, allocations: 15.91 kB / 1.475 GB, free: 7.812 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.5962, allocations: 200.8 kB / 1.476 GB, free: 7.59 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.5962, allocations: 12 kB / 1.476 GB, free: 7.578 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.5963, allocations: 12 kB / 1.476 GB, free: 7.566 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.5966, allocations: 221.5 kB / 1.476 GB, free: 7.309 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.5966, allocations: 0 / 1.476 GB, free: 7.309 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.5966, allocations: 4 kB / 1.476 GB, free: 7.305 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5966, allocations: 0 / 1.476 GB, free: 7.305 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.5967, allocations: 71.84 kB / 1.476 GB, free: 7.234 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009905/0.5977, allocations: 1.097 MB / 1.477 GB, free: 6.066 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.5978, allocations: 165.1 kB / 1.477 GB, free: 5.895 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.5979, allocations: 84.08 kB / 1.477 GB, free: 5.809 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.5979, allocations: 87.27 kB / 1.477 GB, free: 5.723 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.258e-05/0.598, allocations: 117.8 kB / 1.477 GB, free: 5.598 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.598, allocations: 0 / 1.477 GB, free: 5.598 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 9.466e-05/0.5981, allocations: 45.64 kB / 1.477 GB, free: 5.547 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.5982, allocations: 178.1 kB / 1.478 GB, free: 5.348 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.5985, allocations: 260.8 kB / 1.478 GB, free: 5.078 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.5985, allocations: 25.7 kB / 1.478 GB, free: 5.047 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.5986, allocations: 132 kB / 1.478 GB, free: 4.914 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.5986, allocations: 0 / 1.478 GB, free: 4.914 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.5987, allocations: 17.72 kB / 1.478 GB, free: 4.891 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5988, allocations: 326.8 kB / 1.478 GB, free: 4.562 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/0.5989, allocations: 19.98 kB / 1.478 GB, free: 4.543 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.599, allocations: 170.5 kB / 1.478 GB, free: 4.324 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.5991, allocations: 48.23 kB / 1.478 GB, free: 4.262 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5991, allocations: 0 / 1.478 GB, free: 4.262 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001823/0.5992, allocations: 93.58 kB / 1.479 GB, free: 4.164 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5993, allocations: 4 kB / 1.479 GB, free: 4.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5993, allocations: 0 / 1.479 GB, free: 4.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5993, allocations: 7.938 kB / 1.479 GB, free: 4.152 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.5994, allocations: 8 kB / 1.479 GB, free: 4.145 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5994, allocations: 3.938 kB / 1.479 GB, free: 4.141 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.167e-05/0.5994, allocations: 15.84 kB / 1.479 GB, free: 4.125 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.5995, allocations: 4 kB / 1.479 GB, free: 4.121 MB / 1.17 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.0001593/0.5996, allocations: 213.5 kB / 1.479 GB, free: 3.902 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/0.5997, allocations: 124.8 kB / 1.479 GB, free: 3.773 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.571e-05/0.5998, allocations: 129.9 kB / 1.479 GB, free: 3.641 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.499e-05/0.5999, allocations: 180.3 kB / 1.479 GB, free: 3.457 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.76e-05/0.6, allocations: 184.2 kB / 1.479 GB, free: 3.27 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.005e-05/0.6001, allocations: 180.3 kB / 1.48 GB, free: 3.086 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.6004, allocations: 420.1 kB / 1.48 GB, free: 2.625 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.144e-05/0.6004, allocations: 101 kB / 1.48 GB, free: 2.52 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.6005, allocations: 101 kB / 1.48 GB, free: 2.414 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.783e-05/0.6006, allocations: 188.2 kB / 1.48 GB, free: 2.223 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/0.6006, allocations: 176.3 kB / 1.481 GB, free: 2.043 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.279e-05/0.6007, allocations: 184.2 kB / 1.481 GB, free: 1.855 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.321e-05/0.6008, allocations: 176.3 kB / 1.481 GB, free: 1.676 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.601, allocations: 335.6 kB / 1.481 GB, free: 1.324 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.6011, allocations: 116.9 kB / 1.481 GB, free: 1.203 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.6012, allocations: 184.2 kB / 1.481 GB, free: 1.016 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.6013, allocations: 105 kB / 1.482 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.6014, allocations: 184.2 kB / 1.482 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.6014, allocations: 105.1 kB / 1.482 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001915/0.6016, allocations: 184.5 kB / 1.482 GB, free: 440 kB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6016, allocations: 0 / 1.482 GB, free: 440 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002465/0.6019, allocations: 20 kB / 1.482 GB, free: 420 kB / 1.17 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.0005466/0.6024, allocations: 0.8282 MB / 1.483 GB, free: 15.55 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.6025, allocations: 19.98 kB / 1.483 GB, free: 15.53 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6025, allocations: 0 / 1.483 GB, free: 15.53 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 7.694e-06/0.6025, allocations: 7.938 kB / 1.483 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006665/0.6032, allocations: 0.506 MB / 1.483 GB, free: 15.01 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.6054, allocations: 2.037 MB / 1.485 GB, free: 12.87 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.6055, allocations: 110 kB / 1.485 GB, free: 12.74 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.437e-05/0.6056, allocations: 29.5 kB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.6056, allocations: 39.42 kB / 1.486 GB, free: 12.68 MB / 1.186 GB Notification: Performance of SimCode: time 6.32e-07/0.6056, allocations: 0 / 1.486 GB, free: 12.68 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.6386, allocations: 4.709 MB / 1.49 GB, free: 8.145 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.9, allocations: 9.797 kB / 1.49 GB, free: 8.141 MB / 1.186 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.606807215022855]