Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001317/0.001317, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001464/0.001464, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.749/2.749, allocations: 476.8 MB / 0.7715 GB, free: 3.887 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",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.002036/0.002036, allocations: 68.06 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.368, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1865/0.5545, allocations: 146.4 MB / 1.427 GB, free: 7.762 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006295/0.5608, allocations: 5.186 MB / 1.432 GB, free: 2.559 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.561, allocations: 7.938 kB / 1.432 GB, free: 2.551 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.5614, allocations: 103.3 kB / 1.432 GB, free: 2.449 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.5617, allocations: 55.61 kB / 1.432 GB, free: 2.395 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.5618, allocations: 35.95 kB / 1.432 GB, free: 2.359 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.5622, allocations: 219.1 kB / 1.433 GB, free: 2.145 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.5624, allocations: 50.88 kB / 1.433 GB, free: 2.09 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.5626, allocations: 107.6 kB / 1.433 GB, free: 1.984 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.5628, allocations: 75.69 kB / 1.433 GB, free: 1.91 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.5628, allocations: 8 kB / 1.433 GB, free: 1.902 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 2.877e-05/0.5629, allocations: 12 kB / 1.433 GB, free: 1.891 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.5629, allocations: 27.86 kB / 1.433 GB, free: 1.863 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.563, allocations: 59.72 kB / 1.433 GB, free: 1.805 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.5633, allocations: 163.2 kB / 1.433 GB, free: 1.645 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5633, allocations: 4 kB / 1.433 GB, free: 1.641 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5633, allocations: 0 / 1.433 GB, free: 1.641 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5633, allocations: 0 / 1.433 GB, free: 1.641 MB / 1.123 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.0007605/0.564, allocations: 377.4 kB / 1.433 GB, free: 1.242 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.5641, allocations: 8.031 kB / 1.433 GB, free: 1.234 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.009e-05/0.5641, allocations: 4 kB / 1.433 GB, free: 1.23 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.5642, allocations: 46.55 kB / 1.433 GB, free: 1.176 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.5642, allocations: 19.84 kB / 1.433 GB, free: 1.156 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.5645, allocations: 192.9 kB / 1.434 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5646, allocations: 8 kB / 1.434 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.5646, allocations: 15.98 kB / 1.434 GB, free: 0.918 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.5649, allocations: 227.8 kB / 1.434 GB, free: 0.6523 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.5649, allocations: 0 / 1.434 GB, free: 0.6523 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.5649, allocations: 8 kB / 1.434 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5649, allocations: 0 / 1.434 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.5651, allocations: 75.78 kB / 1.434 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009639/0.566, allocations: 1.097 MB / 1.435 GB, free: 15.4 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.5661, allocations: 169.1 kB / 1.435 GB, free: 15.23 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.5662, allocations: 80.14 kB / 1.435 GB, free: 15.14 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.5662, allocations: 79.22 kB / 1.435 GB, free: 15.07 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.5662, allocations: 109.8 kB / 1.435 GB, free: 14.95 MB / 1.139 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5662, allocations: 3.938 kB / 1.435 GB, free: 14.95 MB / 1.139 GB Notification: Performance of matching and sorting (n=0): time 8.904e-05/0.5663, allocations: 45.61 kB / 1.435 GB, free: 14.89 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.5664, allocations: 178.1 kB / 1.436 GB, free: 14.7 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.5667, allocations: 248.9 kB / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.5667, allocations: 29.7 kB / 1.436 GB, free: 14.41 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.5668, allocations: 139.9 kB / 1.436 GB, free: 14.27 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.5668, allocations: 4 kB / 1.436 GB, free: 14.27 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.5669, allocations: 17.72 kB / 1.436 GB, free: 14.24 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.567, allocations: 326.8 kB / 1.436 GB, free: 13.91 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.5671, allocations: 11.98 kB / 1.436 GB, free: 13.9 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.5672, allocations: 174.5 kB / 1.437 GB, free: 13.68 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.5672, allocations: 48.27 kB / 1.437 GB, free: 13.62 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5672, allocations: 4 kB / 1.437 GB, free: 13.61 MB / 1.139 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001707/0.5674, allocations: 93.39 kB / 1.437 GB, free: 13.52 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.5674, allocations: 7.938 kB / 1.437 GB, free: 13.51 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5674, allocations: 0 / 1.437 GB, free: 13.51 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.5675, allocations: 4 kB / 1.437 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.5675, allocations: 8 kB / 1.437 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5675, allocations: 0 / 1.437 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.5676, allocations: 15.89 kB / 1.437 GB, free: 13.48 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.5676, allocations: 8.156 kB / 1.437 GB, free: 13.47 MB / 1.139 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.0001413/0.5678, allocations: 209 kB / 1.437 GB, free: 13.26 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.5678, allocations: 124.8 kB / 1.437 GB, free: 13.13 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.5679, allocations: 121.8 kB / 1.437 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-05/0.568, allocations: 180.2 kB / 1.437 GB, free: 12.82 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-05/0.5681, allocations: 180.3 kB / 1.438 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-05/0.5681, allocations: 184.3 kB / 1.438 GB, free: 12.45 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.5684, allocations: 420.1 kB / 1.438 GB, free: 11.99 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.344e-05/0.5685, allocations: 101 kB / 1.438 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/0.5685, allocations: 104.9 kB / 1.438 GB, free: 11.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.851e-05/0.5686, allocations: 192.2 kB / 1.438 GB, free: 11.58 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.597e-05/0.5687, allocations: 176.3 kB / 1.439 GB, free: 11.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-05/0.5688, allocations: 180.3 kB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-05/0.5688, allocations: 184.3 kB / 1.439 GB, free: 11.03 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.569, allocations: 327.6 kB / 1.439 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.5691, allocations: 116.9 kB / 1.439 GB, free: 10.56 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.755e-05/0.5692, allocations: 188.2 kB / 1.44 GB, free: 10.37 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.5693, allocations: 105 kB / 1.44 GB, free: 10.26 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.5694, allocations: 184.2 kB / 1.44 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.5694, allocations: 101 kB / 1.44 GB, free: 9.969 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001792/0.5696, allocations: 184.5 kB / 1.44 GB, free: 9.793 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5696, allocations: 7.938 kB / 1.44 GB, free: 9.785 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002532/0.5698, allocations: 20 kB / 1.44 GB, free: 9.766 MB / 1.139 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.0004658/0.5703, allocations: 0.8203 MB / 1.441 GB, free: 8.914 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.5704, allocations: 23.92 kB / 1.441 GB, free: 8.891 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5704, allocations: 0 / 1.441 GB, free: 8.891 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.5704, allocations: 0 / 1.441 GB, free: 8.891 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.5711, allocations: 0.5119 MB / 1.442 GB, free: 8.375 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.5731, allocations: 2.056 MB / 1.444 GB, free: 6.211 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.5732, allocations: 102.3 kB / 1.444 GB, free: 6.094 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 8.117e-05/0.5733, allocations: 25.41 kB / 1.444 GB, free: 6.07 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.5734, allocations: 43.42 kB / 1.444 GB, free: 6.027 MB / 1.139 GB Notification: Performance of SimCode: time 5.61e-07/0.5734, allocations: 0 / 1.444 GB, free: 6.027 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.5981, allocations: 4.309 MB / 1.448 GB, free: 1.934 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.28, allocations: 10.45 kB / 1.448 GB, free: 1.926 MB / 1.139 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.12172939896118]