Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.364/2.364, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 59.91 kB / 1.059 GB, free: 1.004 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2705, allocations: 160.8 MB / 1.216 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.7042/0.9747, allocations: 166.8 MB / 1.378 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00622/0.9809, allocations: 5.771 MB / 1.384 GB, free: 6.809 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.9812, allocations: 8.156 kB / 1.384 GB, free: 6.805 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.9816, allocations: 109.7 kB / 1.384 GB, free: 6.727 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.9818, allocations: 49.06 kB / 1.384 GB, free: 6.695 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.982, allocations: 33.75 kB / 1.384 GB, free: 6.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.9823, allocations: 211.8 kB / 1.384 GB, free: 6.582 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.9825, allocations: 56.81 kB / 1.385 GB, free: 6.551 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.9828, allocations: 104 kB / 1.385 GB, free: 6.504 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.9829, allocations: 76.42 kB / 1.385 GB, free: 6.465 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.983, allocations: 14.03 kB / 1.385 GB, free: 6.461 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.677e-05/0.983, allocations: 10.38 kB / 1.385 GB, free: 6.461 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.983, allocations: 30.69 kB / 1.385 GB, free: 6.441 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.89e-05/0.9831, allocations: 67.08 kB / 1.385 GB, free: 6.402 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.9833, allocations: 166.1 kB / 1.385 GB, free: 6.332 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.9833, allocations: 1.25 kB / 1.385 GB, free: 6.332 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9833, allocations: 0 / 1.385 GB, free: 6.332 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.9834, allocations: 3.938 kB / 1.385 GB, free: 6.328 MB / 1.061 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.0006514/0.984, allocations: 448.6 kB / 1.385 GB, free: 5.902 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.984, allocations: 13.44 kB / 1.385 GB, free: 5.898 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.9841, allocations: 46.83 kB / 1.385 GB, free: 5.852 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.9841, allocations: 16.34 kB / 1.385 GB, free: 5.844 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.9845, allocations: 259.5 kB / 1.386 GB, free: 5.602 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.9845, allocations: 9.094 kB / 1.386 GB, free: 5.598 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.9845, allocations: 10.03 kB / 1.386 GB, free: 5.598 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.9848, allocations: 172.2 kB / 1.386 GB, free: 5.461 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.9848, allocations: 1 kB / 1.386 GB, free: 5.461 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.9848, allocations: 6.219 kB / 1.386 GB, free: 5.457 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.9848, allocations: 3.344 kB / 1.386 GB, free: 5.457 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.9849, allocations: 77.09 kB / 1.386 GB, free: 5.426 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009568/0.9859, allocations: 1.147 MB / 1.387 GB, free: 4.332 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.166e-05/0.986, allocations: 170.4 kB / 1.387 GB, free: 4.156 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.986, allocations: 81.48 kB / 1.387 GB, free: 4.074 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.9861, allocations: 83.16 kB / 1.387 GB, free: 3.992 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.9861, allocations: 113.8 kB / 1.388 GB, free: 3.875 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.9861, allocations: 0 / 1.388 GB, free: 3.875 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.474e-05/0.9862, allocations: 41.7 kB / 1.388 GB, free: 3.836 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.9863, allocations: 178.9 kB / 1.388 GB, free: 3.637 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.9866, allocations: 253.4 kB / 1.388 GB, free: 3.488 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.9866, allocations: 26.83 kB / 1.388 GB, free: 3.457 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.9867, allocations: 135.7 kB / 1.388 GB, free: 3.336 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-06/0.9867, allocations: 5.062 kB / 1.388 GB, free: 3.332 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.9867, allocations: 19.97 kB / 1.388 GB, free: 3.312 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.9869, allocations: 327.9 kB / 1.388 GB, free: 2.992 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.9869, allocations: 14.97 kB / 1.388 GB, free: 2.984 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.987, allocations: 67.81 kB / 1.389 GB, free: 2.906 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.634e-05/0.987, allocations: 55.23 kB / 1.389 GB, free: 2.852 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.987, allocations: 0 / 1.389 GB, free: 2.852 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001615/0.9872, allocations: 95.45 kB / 1.389 GB, free: 2.785 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.9872, allocations: 6.375 kB / 1.389 GB, free: 2.785 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.9872, allocations: 1.156 kB / 1.389 GB, free: 2.785 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.9872, allocations: 3.75 kB / 1.389 GB, free: 2.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.9873, allocations: 8.062 kB / 1.389 GB, free: 2.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.9873, allocations: 2.219 kB / 1.389 GB, free: 2.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.446e-05/0.9874, allocations: 17.3 kB / 1.389 GB, free: 2.773 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.9874, allocations: 2.938 kB / 1.389 GB, free: 2.773 MB / 1.061 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.0001371/0.9875, allocations: 212 kB / 1.389 GB, free: 2.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.9876, allocations: 125.1 kB / 1.389 GB, free: 2.449 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.966e-05/0.9877, allocations: 128.5 kB / 1.389 GB, free: 2.324 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.388e-05/0.9878, allocations: 189.3 kB / 1.389 GB, free: 2.133 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.951e-05/0.9878, allocations: 177.3 kB / 1.39 GB, free: 1.953 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.717e-05/0.9879, allocations: 179.6 kB / 1.39 GB, free: 1.773 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.9882, allocations: 455 kB / 1.39 GB, free: 1.309 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.685e-05/0.9883, allocations: 109.8 kB / 1.39 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.9883, allocations: 106.1 kB / 1.39 GB, free: 1.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.395e-05/0.9884, allocations: 182.9 kB / 1.391 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/0.9884, allocations: 177.4 kB / 1.391 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.266e-05/0.9885, allocations: 183.8 kB / 1.391 GB, free: 0.543 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.017e-05/0.9886, allocations: 181.3 kB / 1.391 GB, free: 368 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.9888, allocations: 324.3 kB / 1.391 GB, free: 32 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.9889, allocations: 197.1 kB / 1.392 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/0.989, allocations: 185.5 kB / 1.392 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.9891, allocations: 108.8 kB / 1.392 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.9892, allocations: 181.6 kB / 1.392 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.9892, allocations: 102.2 kB / 1.392 GB, free: 15.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001759/0.9894, allocations: 184.9 kB / 1.392 GB, free: 15.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9894, allocations: 0 / 1.392 GB, free: 15.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002446/0.9896, allocations: 23.77 kB / 1.392 GB, free: 15.12 MB / 1.076 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.0004374/0.9901, allocations: 0.8289 MB / 1.393 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.155e-05/0.9902, allocations: 25.41 kB / 1.393 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9902, allocations: 3.938 kB / 1.393 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.9902, allocations: 1.062 kB / 1.393 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.9908, allocations: 0.4988 MB / 1.394 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.9929, allocations: 2.048 MB / 1.396 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.9933, allocations: 0.716 MB / 1.396 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.625e-05/0.9934, allocations: 21.86 kB / 1.396 GB, free: 11.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.9934, allocations: 43.02 kB / 1.396 GB, free: 11.45 MB / 1.076 GB Notification: Performance of SimCode: time 8.81e-07/0.9934, allocations: 0 / 1.396 GB, free: 11.45 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/1.021, allocations: 3.879 MB / 1.4 GB, free: 9.5 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.138/8.159, allocations: 3.719 kB / 1.4 GB, free: 9.5 MB / 1.076 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 13.426597582998511]