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.001313/0.001313, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001271/0.001271, allocations: 191.3 kB / 16.25 MB, free: 6.641 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.354/2.354, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.8689 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/0.5404, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1431/0.6836, allocations: 163.9 MB / 1.177 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00459/0.6882, allocations: 5.658 MB / 1.182 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.6883, allocations: 4 kB / 1.182 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.6887, allocations: 79.52 kB / 1.183 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.6889, allocations: 47.67 kB / 1.183 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.806e-05/0.689, allocations: 23.98 kB / 1.183 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.6892, allocations: 219.1 kB / 1.183 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.6894, allocations: 106.5 kB / 1.183 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.6896, allocations: 99.58 kB / 1.183 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.6897, allocations: 79.62 kB / 1.183 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.6898, allocations: 8 kB / 1.183 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.095e-05/0.6898, allocations: 12 kB / 1.183 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.6898, allocations: 27.92 kB / 1.183 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.6899, allocations: 67.61 kB / 1.183 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.6901, allocations: 155.5 kB / 1.183 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6901, allocations: 0 / 1.183 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6901, allocations: 4 kB / 1.183 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.6901, allocations: 0 / 1.183 GB, free: 7.672 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.0005042/0.6906, allocations: 438.8 kB / 1.184 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.6906, allocations: 12.03 kB / 1.184 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.6907, allocations: 46.55 kB / 1.184 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.6907, allocations: 23.69 kB / 1.184 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.691, allocations: 246.5 kB / 1.184 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.691, allocations: 8 kB / 1.184 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.691, allocations: 11.94 kB / 1.184 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.6912, allocations: 165.6 kB / 1.184 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6912, allocations: 4 kB / 1.184 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.6913, allocations: 11.94 kB / 1.184 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.6913, allocations: 4 kB / 1.184 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.6914, allocations: 71.89 kB / 1.184 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/0.6921, allocations: 1.152 MB / 1.185 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.346e-05/0.6922, allocations: 173.1 kB / 1.186 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.6922, allocations: 84.08 kB / 1.186 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.6922, allocations: 75.28 kB / 1.186 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.6923, allocations: 113.8 kB / 1.186 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.6923, allocations: 0 / 1.186 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.681e-05/0.6924, allocations: 41.52 kB / 1.186 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.6924, allocations: 186 kB / 1.186 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.6926, allocations: 249 kB / 1.186 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.6927, allocations: 25.7 kB / 1.186 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.6928, allocations: 135.9 kB / 1.187 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.6928, allocations: 4 kB / 1.187 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.6928, allocations: 25.62 kB / 1.187 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.6929, allocations: 322.8 kB / 1.187 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.6929, allocations: 11.98 kB / 1.187 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.031e-05/0.693, allocations: 63.72 kB / 1.187 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.693, allocations: 52.23 kB / 1.187 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.693, allocations: 0 / 1.187 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001369/0.6932, allocations: 93.39 kB / 1.187 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.6932, allocations: 8 kB / 1.187 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.6932, allocations: 48 / 1.187 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.6932, allocations: 7.984 kB / 1.187 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.6933, allocations: 4 kB / 1.187 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.6933, allocations: 4 kB / 1.187 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.6934, allocations: 11.84 kB / 1.187 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.6934, allocations: 7.984 kB / 1.187 GB, free: 3.492 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.0001044/0.6935, allocations: 209.6 kB / 1.187 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.6936, allocations: 128.7 kB / 1.187 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.6936, allocations: 121.8 kB / 1.188 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.284e-05/0.6937, allocations: 176.3 kB / 1.188 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-05/0.6937, allocations: 188.2 kB / 1.188 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.453e-05/0.6938, allocations: 180.2 kB / 1.188 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.694, allocations: 461.1 kB / 1.188 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-05/0.694, allocations: 108.9 kB / 1.189 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.6941, allocations: 101 kB / 1.189 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.798e-05/0.6941, allocations: 184.3 kB / 1.189 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.6942, allocations: 180.2 kB / 1.189 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-05/0.6942, allocations: 176.3 kB / 1.189 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-05/0.6943, allocations: 188.3 kB / 1.189 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.6944, allocations: 319.6 kB / 1.19 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-05/0.6945, allocations: 201.8 kB / 1.19 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.6945, allocations: 184.5 kB / 1.19 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.6946, allocations: 108.9 kB / 1.19 GB, free: 144 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.6947, allocations: 176.3 kB / 1.19 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.6947, allocations: 109 kB / 1.19 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001437/0.6949, allocations: 184.5 kB / 1.191 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.192e-06/0.6949, allocations: 0 / 1.191 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00023/0.6951, allocations: 23.94 kB / 1.191 GB, free: 15.64 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.0002998/0.6954, allocations: 0.8242 MB / 1.191 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.51e-05/0.6955, allocations: 19.94 kB / 1.191 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6955, allocations: 0 / 1.191 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.6955, allocations: 4 kB / 1.191 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.6961, allocations: 0.5003 MB / 1.192 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.6977, allocations: 2.064 MB / 1.194 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.698, allocations: 0.7202 MB / 1.195 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.751e-05/0.698, allocations: 25.52 kB / 1.195 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.6981, allocations: 39.42 kB / 1.195 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of SimCode: time 2.01e-07/0.6981, allocations: 0 / 1.195 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.259/1.957, allocations: 3.73 MB / 1.198 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/1.957, allocations: 190.9 kB / 1.199 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/3.919, allocations: 3.938 kB / 1.199 GB, free: 7.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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