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.001087/0.001087, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.531/2.531, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 67.89 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.5663, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1581/0.7245, allocations: 166.1 MB / 1.18 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005321/0.7299, allocations: 5.712 MB / 1.185 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.7301, allocations: 11.94 kB / 1.185 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.7305, allocations: 99.31 kB / 1.185 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.7307, allocations: 51.61 kB / 1.185 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.7308, allocations: 31.97 kB / 1.185 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.7311, allocations: 215.1 kB / 1.186 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.7313, allocations: 102.5 kB / 1.186 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.7315, allocations: 103.6 kB / 1.186 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.7316, allocations: 71.62 kB / 1.186 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.7317, allocations: 12 kB / 1.186 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.562e-05/0.7317, allocations: 8 kB / 1.186 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.7318, allocations: 27.92 kB / 1.186 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.482e-05/0.7318, allocations: 71.61 kB / 1.186 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.732, allocations: 151.5 kB / 1.186 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.732, allocations: 0 / 1.186 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.732, allocations: 0 / 1.186 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.732, allocations: 0 / 1.186 GB, free: 5.047 MB / 0.9356 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.0005517/0.7326, allocations: 450.8 kB / 1.187 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.7326, allocations: 11.97 kB / 1.187 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.7327, allocations: 42.55 kB / 1.187 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.7327, allocations: 15.81 kB / 1.187 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.733, allocations: 244.5 kB / 1.187 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.733, allocations: 12 kB / 1.187 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.7331, allocations: 12 kB / 1.187 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.7333, allocations: 174.5 kB / 1.187 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.7333, allocations: 3.938 kB / 1.187 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.7333, allocations: 8 kB / 1.187 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.7333, allocations: 0 / 1.187 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.7335, allocations: 67.89 kB / 1.187 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008352/0.7343, allocations: 1.16 MB / 1.188 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.123e-05/0.7344, allocations: 169.1 kB / 1.188 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.7344, allocations: 84.08 kB / 1.188 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.7345, allocations: 79.22 kB / 1.189 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.7345, allocations: 109.8 kB / 1.189 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.7345, allocations: 0 / 1.189 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.537e-05/0.7346, allocations: 53.45 kB / 1.189 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.7347, allocations: 178.1 kB / 1.189 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.7349, allocations: 249 kB / 1.189 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.735, allocations: 25.7 kB / 1.189 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.7351, allocations: 135.9 kB / 1.189 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/0.7351, allocations: 0 / 1.189 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.7351, allocations: 21.62 kB / 1.189 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7352, allocations: 330.8 kB / 1.19 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.7352, allocations: 11.98 kB / 1.19 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-05/0.7353, allocations: 59.73 kB / 1.19 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.7354, allocations: 52.22 kB / 1.19 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7354, allocations: 0 / 1.19 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001478/0.7355, allocations: 93.34 kB / 1.19 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.7356, allocations: 8.141 kB / 1.19 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.7356, allocations: 8 kB / 1.19 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.7356, allocations: 0 / 1.19 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.7357, allocations: 12.12 kB / 1.19 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.7357, allocations: 3.938 kB / 1.19 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.7358, allocations: 19.84 kB / 1.19 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.7358, allocations: 0 / 1.19 GB, free: 0.8594 MB / 0.9356 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.0001129/0.7359, allocations: 205.1 kB / 1.19 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.736, allocations: 120.7 kB / 1.19 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.736, allocations: 129.8 kB / 1.19 GB, free: 404 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/0.7361, allocations: 176.3 kB / 1.19 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.669e-05/0.7361, allocations: 176.3 kB / 1.191 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.677e-05/0.7362, allocations: 192.1 kB / 1.191 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.7365, allocations: 453.1 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/0.7365, allocations: 112.9 kB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.7365, allocations: 105 kB / 1.191 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.661e-05/0.7366, allocations: 176.3 kB / 1.192 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.7366, allocations: 180.2 kB / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.705e-05/0.7367, allocations: 180.3 kB / 1.192 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-05/0.7367, allocations: 180.4 kB / 1.192 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.7369, allocations: 335.5 kB / 1.192 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.846e-05/0.737, allocations: 193.9 kB / 1.193 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.737, allocations: 180.2 kB / 1.193 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.7371, allocations: 108.9 kB / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.7372, allocations: 180.3 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.7372, allocations: 108.9 kB / 1.193 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001541/0.7374, allocations: 188.5 kB / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7374, allocations: 0 / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002456/0.7377, allocations: 20 kB / 1.193 GB, free: 13.02 MB / 0.9512 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.0003275/0.738, allocations: 0.8242 MB / 1.194 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.131e-05/0.7381, allocations: 19.94 kB / 1.194 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7381, allocations: 0 / 1.194 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.7381, allocations: 0 / 1.194 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.7387, allocations: 0.512 MB / 1.195 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.7405, allocations: 2.045 MB / 1.197 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.7407, allocations: 0.7202 MB / 1.197 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.76e-05/0.7408, allocations: 25.52 kB / 1.197 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.7409, allocations: 43.42 kB / 1.197 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.7409, allocations: 0 / 1.197 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.761, allocations: 3.812 MB / 1.201 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.769, allocations: 13.25 kB / 1.201 GB, free: 4.934 MB / 0.9512 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