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.0075/0.007501, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001936/0.001936, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.762/2.762, allocations: 437.1 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2711, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.7151/0.9862, allocations: 166.1 MB / 1.328 GB, free: 4.48 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006592/0.9929, allocations: 5.703 MB / 1.334 GB, free: 376 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.9931, allocations: 8.938 kB / 1.334 GB, free: 372 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.9935, allocations: 102.4 kB / 1.334 GB, free: 296 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.9938, allocations: 55.47 kB / 1.334 GB, free: 260 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.994, allocations: 33.03 kB / 1.334 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.9943, allocations: 215 kB / 1.334 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.9945, allocations: 96.38 kB / 1.334 GB, free: 92 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.9947, allocations: 101.7 kB / 1.335 GB, free: 44 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.9949, allocations: 76.41 kB / 1.335 GB, free: 4 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.9949, allocations: 12.91 kB / 1.335 GB, free: 0 / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.638e-05/0.995, allocations: 10.56 kB / 1.335 GB, free: 0 / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.995, allocations: 27.33 kB / 1.335 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.338e-05/0.9951, allocations: 70.84 kB / 1.335 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.9954, allocations: 164.4 kB / 1.335 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9954, allocations: 0.7969 kB / 1.335 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9954, allocations: 0 / 1.335 GB, free: 15.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.9954, allocations: 0 / 1.335 GB, free: 15.88 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.0006399/0.996, allocations: 448.4 kB / 1.335 GB, free: 15.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.9961, allocations: 12.84 kB / 1.335 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.9961, allocations: 46.45 kB / 1.335 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.9962, allocations: 16.94 kB / 1.335 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.9966, allocations: 256.7 kB / 1.336 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.9966, allocations: 8.906 kB / 1.336 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.9966, allocations: 7.938 kB / 1.336 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.9969, allocations: 168.2 kB / 1.336 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.9969, allocations: 1.344 kB / 1.336 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.9969, allocations: 5.156 kB / 1.336 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.9969, allocations: 3.688 kB / 1.336 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.9971, allocations: 80.7 kB / 1.336 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.9981, allocations: 1.149 MB / 1.337 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.9982, allocations: 170.5 kB / 1.337 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.9982, allocations: 80.14 kB / 1.337 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.9983, allocations: 83.16 kB / 1.337 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.599e-05/0.9984, allocations: 112.8 kB / 1.337 GB, free: 13.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.9984, allocations: 0 / 1.337 GB, free: 13.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.609e-05/0.9985, allocations: 49.28 kB / 1.337 GB, free: 13.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.9986, allocations: 183.5 kB / 1.338 GB, free: 13.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.9989, allocations: 251.1 kB / 1.338 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.9989, allocations: 27.48 kB / 1.338 GB, free: 13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.999, allocations: 131.5 kB / 1.338 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.999, allocations: 4 kB / 1.338 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.9991, allocations: 21.75 kB / 1.338 GB, free: 12.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.9993, allocations: 324.2 kB / 1.338 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.9993, allocations: 11.16 kB / 1.338 GB, free: 12.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.9994, allocations: 69.22 kB / 1.338 GB, free: 12.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.815e-05/0.9994, allocations: 55.27 kB / 1.338 GB, free: 12.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9994, allocations: 0 / 1.338 GB, free: 12.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001655/0.9996, allocations: 97.12 kB / 1.339 GB, free: 12.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.9996, allocations: 5.812 kB / 1.339 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.9996, allocations: 1.156 kB / 1.339 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.9997, allocations: 1.5 kB / 1.339 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.974e-05/0.9997, allocations: 10.91 kB / 1.339 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.9997, allocations: 1.469 kB / 1.339 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/0.9998, allocations: 17.11 kB / 1.339 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.9998, allocations: 3.312 kB / 1.339 GB, free: 12.32 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.0001524/1, allocations: 213.2 kB / 1.339 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/1, allocations: 126 kB / 1.339 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.86e-05/1, allocations: 120.8 kB / 1.339 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/1, allocations: 181.5 kB / 1.339 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001331/1, allocations: 185.8 kB / 1.339 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.512e-05/1.001, allocations: 176.3 kB / 1.34 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/1.001, allocations: 456.9 kB / 1.34 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.943e-05/1.001, allocations: 106.3 kB / 1.34 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/1.001, allocations: 111.4 kB / 1.34 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.782e-05/1.001, allocations: 180.3 kB / 1.34 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/1.001, allocations: 177.8 kB / 1.341 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.023e-05/1.001, allocations: 181.3 kB / 1.341 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.658e-05/1.001, allocations: 183.9 kB / 1.341 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/1.002, allocations: 318.2 kB / 1.341 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/1.002, allocations: 203.4 kB / 1.341 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/1.002, allocations: 181.4 kB / 1.342 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/1.002, allocations: 106.3 kB / 1.342 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/1.002, allocations: 187 kB / 1.342 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/1.002, allocations: 102.3 kB / 1.342 GB, free: 8.793 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001831/1.002, allocations: 187 kB / 1.342 GB, free: 8.684 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.002, allocations: 0 / 1.342 GB, free: 8.684 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002575/1.002, allocations: 22.95 kB / 1.342 GB, free: 8.68 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.0004816/1.003, allocations: 0.8309 MB / 1.343 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001039/1.003, allocations: 26.47 kB / 1.343 GB, free: 7.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.003, allocations: 1.5 kB / 1.343 GB, free: 7.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/1.003, allocations: 0 / 1.343 GB, free: 7.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/1.004, allocations: 0.5017 MB / 1.343 GB, free: 7.375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/1.006, allocations: 2.042 MB / 1.345 GB, free: 5.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/1.006, allocations: 0.7145 MB / 1.346 GB, free: 5.059 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.401e-05/1.006, allocations: 28.48 kB / 1.346 GB, free: 5.051 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/1.006, allocations: 47.5 kB / 1.346 GB, free: 5.016 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/1.006, allocations: 0 / 1.346 GB, free: 5.016 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/1.032, allocations: 3.869 MB / 1.35 GB, free: 4.469 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.924, allocations: 12.98 kB / 1.35 GB, free: 4.457 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