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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006542/0.006542, allocations: 95.77 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 198.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 75.86 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2637, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.729/0.9927, allocations: 166.1 MB / 1.328 GB, free: 4.395 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006324/0.999, allocations: 5.71 MB / 1.334 GB, free: 280 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.9993, allocations: 8.844 kB / 1.334 GB, free: 276 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.9998, allocations: 97.62 kB / 1.334 GB, free: 208 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002445/1, allocations: 54.48 kB / 1.334 GB, free: 172 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/1, allocations: 32.47 kB / 1.334 GB, free: 156 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/1.001, allocations: 215.2 kB / 1.334 GB, free: 52 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/1.001, allocations: 106.6 kB / 1.334 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/1.001, allocations: 98.73 kB / 1.334 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/1.001, allocations: 75.97 kB / 1.335 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/1.001, allocations: 10.12 kB / 1.335 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/1.001, allocations: 9.031 kB / 1.335 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/1.001, allocations: 27.16 kB / 1.335 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.353e-05/1.001, allocations: 71.8 kB / 1.335 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/1.002, allocations: 163.7 kB / 1.335 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.002, allocations: 0.5625 kB / 1.335 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/1.002, allocations: 4 kB / 1.335 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.002, allocations: 1.531 kB / 1.335 GB, free: 15.79 MB / 1.029 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.0006139/1.002, allocations: 450.2 kB / 1.335 GB, free: 15.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/1.002, allocations: 9.844 kB / 1.335 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/1.002, allocations: 46.95 kB / 1.335 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/1.002, allocations: 16.56 kB / 1.335 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/1.003, allocations: 262.8 kB / 1.336 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/1.003, allocations: 8.75 kB / 1.336 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/1.003, allocations: 12.81 kB / 1.336 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/1.003, allocations: 167.9 kB / 1.336 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.003, allocations: 1.25 kB / 1.336 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/1.003, allocations: 6.375 kB / 1.336 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/1.003, allocations: 2.625 kB / 1.336 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/1.003, allocations: 78.3 kB / 1.336 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008599/1.004, allocations: 1.145 MB / 1.337 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.656e-05/1.004, allocations: 171 kB / 1.337 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/1.004, allocations: 85.2 kB / 1.337 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/1.004, allocations: 83.22 kB / 1.337 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/1.004, allocations: 111.5 kB / 1.337 GB, free: 13.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/1.004, allocations: 0 / 1.337 GB, free: 13.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.696e-05/1.004, allocations: 43.77 kB / 1.337 GB, free: 13.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/1.005, allocations: 179.9 kB / 1.338 GB, free: 13.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/1.005, allocations: 257.4 kB / 1.338 GB, free: 12.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/1.005, allocations: 25.7 kB / 1.338 GB, free: 12.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/1.005, allocations: 129.8 kB / 1.338 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/1.005, allocations: 0 / 1.338 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/1.005, allocations: 19.97 kB / 1.338 GB, free: 12.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.005, allocations: 327.5 kB / 1.338 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/1.005, allocations: 11.58 kB / 1.338 GB, free: 12.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/1.005, allocations: 71.34 kB / 1.338 GB, free: 12.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.091e-05/1.005, allocations: 53.69 kB / 1.338 GB, free: 12.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.005, allocations: 1.25 kB / 1.338 GB, free: 12.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001565/1.005, allocations: 88.73 kB / 1.339 GB, free: 12.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.005, allocations: 6 kB / 1.339 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/1.005, allocations: 7.938 kB / 1.339 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/1.005, allocations: 1.438 kB / 1.339 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/1.006, allocations: 8.656 kB / 1.339 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.006, allocations: 1.156 kB / 1.339 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-05/1.006, allocations: 23.42 kB / 1.339 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/1.006, allocations: 2.906 kB / 1.339 GB, free: 12.23 MB / 1.029 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.0001182/1.006, allocations: 201.9 kB / 1.339 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/1.006, allocations: 126.7 kB / 1.339 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/1.006, allocations: 122.1 kB / 1.339 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.365e-05/1.006, allocations: 179.8 kB / 1.339 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.713e-05/1.006, allocations: 197.8 kB / 1.339 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.003e-05/1.006, allocations: 176.3 kB / 1.34 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/1.006, allocations: 451.4 kB / 1.34 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-05/1.006, allocations: 113.5 kB / 1.34 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/1.006, allocations: 102.2 kB / 1.34 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-05/1.007, allocations: 185.5 kB / 1.34 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/1.007, allocations: 176.3 kB / 1.341 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.826e-05/1.007, allocations: 185.5 kB / 1.341 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-05/1.007, allocations: 184.4 kB / 1.341 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/1.007, allocations: 318 kB / 1.341 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/1.007, allocations: 204.1 kB / 1.341 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/1.007, allocations: 182.4 kB / 1.342 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/1.007, allocations: 102.5 kB / 1.342 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/1.007, allocations: 185.8 kB / 1.342 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/1.007, allocations: 102.7 kB / 1.342 GB, free: 8.703 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001753/1.007, allocations: 185.8 kB / 1.342 GB, free: 8.594 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.51e-07/1.007, allocations: 1.188 kB / 1.342 GB, free: 8.594 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002628/1.008, allocations: 28.08 kB / 1.342 GB, free: 8.586 MB / 1.029 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.0003713/1.008, allocations: 0.8255 MB / 1.343 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.512e-05/1.008, allocations: 22.5 kB / 1.343 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.008, allocations: 0 / 1.343 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-06/1.008, allocations: 9.375 kB / 1.343 GB, free: 7.742 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/1.009, allocations: 0.4987 MB / 1.343 GB, free: 7.277 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/1.011, allocations: 2.038 MB / 1.345 GB, free: 5.664 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/1.011, allocations: 0.7171 MB / 1.346 GB, free: 4.965 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.312e-05/1.011, allocations: 23.56 kB / 1.346 GB, free: 4.961 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.437e-05/1.011, allocations: 41.34 kB / 1.346 GB, free: 4.934 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/1.011, allocations: 0 / 1.346 GB, free: 4.934 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/1.03, allocations: 3.877 MB / 1.35 GB, free: 4.375 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/8.408, allocations: 11.28 kB / 1.35 GB, free: 4.367 MB / 1.029 GB (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 50 --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) 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) Reference file matches