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.001692/0.001692, allocations: 103 kB / 16.45 MB, free: 6.449 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.002082/0.002082, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.528/1.528, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.793/2.793, allocations: 476.7 MB / 0.7672 GB, free: 5.25 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_11_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.002057/0.002057, allocations: 79.88 kB / 1.112 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9158/0.9178, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2107/1.129, allocations: 169.5 MB / 1.444 GB, free: 3.242 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007184/1.136, allocations: 5.743 MB / 1.449 GB, free: 13.48 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/1.136, allocations: 15.88 kB / 1.449 GB, free: 13.46 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000454/1.136, allocations: 91.31 kB / 1.45 GB, free: 13.38 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002416/1.137, allocations: 63.59 kB / 1.45 GB, free: 13.31 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/1.137, allocations: 35.89 kB / 1.45 GB, free: 13.28 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.000351/1.137, allocations: 215.2 kB / 1.45 GB, free: 13.07 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/1.137, allocations: 66.53 kB / 1.45 GB, free: 13 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/1.138, allocations: 103.6 kB / 1.45 GB, free: 12.89 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/1.138, allocations: 79.56 kB / 1.45 GB, free: 12.82 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/1.138, allocations: 8 kB / 1.45 GB, free: 12.81 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 2.396e-05/1.138, allocations: 12 kB / 1.45 GB, free: 12.8 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/1.138, allocations: 35.86 kB / 1.45 GB, free: 12.76 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 8.56e-05/1.138, allocations: 67.67 kB / 1.45 GB, free: 12.7 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/1.138, allocations: 155.3 kB / 1.45 GB, free: 12.54 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.138, allocations: 0 / 1.45 GB, free: 12.54 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.844e-06/1.138, allocations: 0 / 1.45 GB, free: 12.54 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.154e-05/1.138, allocations: 0 / 1.45 GB, free: 12.54 MB / 1.154 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.0007027/1.139, allocations: 458.4 kB / 1.451 GB, free: 12.05 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.139, allocations: 8.031 kB / 1.451 GB, free: 12.04 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.334e-05/1.139, allocations: 42.55 kB / 1.451 GB, free: 11.99 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/1.139, allocations: 19.91 kB / 1.451 GB, free: 11.97 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/1.14, allocations: 257.3 kB / 1.451 GB, free: 11.68 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/1.14, allocations: 12 kB / 1.451 GB, free: 11.67 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/1.14, allocations: 12 kB / 1.451 GB, free: 11.66 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/1.14, allocations: 165.2 kB / 1.451 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.14, allocations: 0 / 1.451 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/1.14, allocations: 8 kB / 1.451 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/1.14, allocations: 4 kB / 1.451 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/1.14, allocations: 67.83 kB / 1.451 GB, free: 11.39 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/1.141, allocations: 1.16 MB / 1.452 GB, free: 10.15 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/1.141, allocations: 165.1 kB / 1.453 GB, free: 9.977 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/1.141, allocations: 84.08 kB / 1.453 GB, free: 9.891 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/1.141, allocations: 75.28 kB / 1.453 GB, free: 9.816 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/1.141, allocations: 113.8 kB / 1.453 GB, free: 9.695 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/1.141, allocations: 4 kB / 1.453 GB, free: 9.691 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 0.0001018/1.141, allocations: 45.55 kB / 1.453 GB, free: 9.641 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.142, allocations: 178.1 kB / 1.453 GB, free: 9.441 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/1.142, allocations: 249 kB / 1.453 GB, free: 9.188 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/1.142, allocations: 25.7 kB / 1.453 GB, free: 9.156 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/1.142, allocations: 136 kB / 1.453 GB, free: 9.02 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-06/1.142, allocations: 0 / 1.453 GB, free: 9.02 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/1.142, allocations: 21.72 kB / 1.454 GB, free: 8.992 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.142, allocations: 330.8 kB / 1.454 GB, free: 8.66 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/1.142, allocations: 7.984 kB / 1.454 GB, free: 8.652 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/1.142, allocations: 71.72 kB / 1.454 GB, free: 8.555 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.738e-05/1.142, allocations: 48.17 kB / 1.454 GB, free: 8.492 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.142, allocations: 4 kB / 1.454 GB, free: 8.488 MB / 1.154 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001862/1.143, allocations: 89.39 kB / 1.454 GB, free: 8.395 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.143, allocations: 8.156 kB / 1.454 GB, free: 8.387 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/1.143, allocations: 4 kB / 1.454 GB, free: 8.383 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.143, allocations: 0 / 1.454 GB, free: 8.383 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/1.143, allocations: 15.94 kB / 1.454 GB, free: 8.367 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.143, allocations: 7.938 kB / 1.454 GB, free: 8.359 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-05/1.143, allocations: 19.78 kB / 1.454 GB, free: 8.34 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/1.143, allocations: 4 kB / 1.454 GB, free: 8.336 MB / 1.154 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.0001605/1.143, allocations: 203.3 kB / 1.454 GB, free: 8.129 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/1.143, allocations: 124.9 kB / 1.454 GB, free: 8 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.686e-05/1.143, allocations: 129.8 kB / 1.455 GB, free: 7.867 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.413e-05/1.143, allocations: 180.3 kB / 1.455 GB, free: 7.684 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.493e-05/1.143, allocations: 188.3 kB / 1.455 GB, free: 7.492 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.021e-05/1.143, allocations: 184.3 kB / 1.455 GB, free: 7.305 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/1.144, allocations: 449.1 kB / 1.455 GB, free: 6.809 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.466e-05/1.144, allocations: 112.9 kB / 1.456 GB, free: 6.691 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/1.144, allocations: 101 kB / 1.456 GB, free: 6.586 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-05/1.144, allocations: 180.2 kB / 1.456 GB, free: 6.402 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.731e-05/1.144, allocations: 180.3 kB / 1.456 GB, free: 6.219 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.348e-05/1.144, allocations: 176.3 kB / 1.456 GB, free: 6.039 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-05/1.144, allocations: 188.2 kB / 1.456 GB, free: 5.848 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/1.144, allocations: 327.6 kB / 1.457 GB, free: 5.504 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/1.145, allocations: 198 kB / 1.457 GB, free: 5.285 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/1.145, allocations: 180.2 kB / 1.457 GB, free: 5.102 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/1.145, allocations: 109 kB / 1.457 GB, free: 4.988 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/1.145, allocations: 180.3 kB / 1.457 GB, free: 4.805 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/1.145, allocations: 104.9 kB / 1.457 GB, free: 4.695 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001924/1.145, allocations: 188.5 kB / 1.458 GB, free: 4.516 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.145, allocations: 0 / 1.458 GB, free: 4.516 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002726/1.145, allocations: 20 kB / 1.458 GB, free: 4.496 MB / 1.154 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.0006/1.146, allocations: 0.8248 MB / 1.458 GB, free: 3.641 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001406/1.146, allocations: 19.94 kB / 1.458 GB, free: 3.621 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.146, allocations: 0 / 1.458 GB, free: 3.621 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/1.146, allocations: 0 / 1.458 GB, free: 3.621 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/1.147, allocations: 0.5121 MB / 1.459 GB, free: 3.105 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/1.149, allocations: 2.056 MB / 1.461 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/1.15, allocations: 0.7202 MB / 1.462 GB, free: 208 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 8.956e-05/1.15, allocations: 17.55 kB / 1.462 GB, free: 188 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/1.15, allocations: 39.42 kB / 1.462 GB, free: 148 kB / 1.154 GB Notification: Performance of SimCode: time 5.81e-07/1.15, allocations: 4 kB / 1.462 GB, free: 144 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/1.183, allocations: 3.909 MB / 1.466 GB, free: 12.33 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.617/9.8, allocations: 18.03 kB / 1.466 GB, free: 12.32 MB / 1.17 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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: 16.06458321888931]