Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_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.001208/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00125/0.00125, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.212/1.212, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.127/2.127, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5304, allocations: 140.4 MB / 0.949 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1673/0.6978, allocations: 163.9 MB / 1.109 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005952/0.7038, allocations: 5.701 MB / 1.115 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.704, allocations: 7.938 kB / 1.115 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003932/0.7044, allocations: 79.5 kB / 1.115 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.7047, allocations: 47.67 kB / 1.115 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.7049, allocations: 31.97 kB / 1.115 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.7052, allocations: 255.1 kB / 1.115 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.7054, allocations: 83.42 kB / 1.115 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.7057, allocations: 103.6 kB / 1.115 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.7058, allocations: 71.64 kB / 1.115 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.7059, allocations: 4 kB / 1.115 GB, free: 7.238 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 2.897e-05/0.7059, allocations: 8 kB / 1.115 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.7059, allocations: 31.84 kB / 1.115 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.706, allocations: 67.67 kB / 1.115 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.7063, allocations: 147.4 kB / 1.116 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.7063, allocations: 0 / 1.116 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7063, allocations: 0 / 1.116 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.7063, allocations: 0 / 1.116 GB, free: 6.988 MB / 0.8731 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.0006241/0.7069, allocations: 446.9 kB / 1.116 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.707, allocations: 12.03 kB / 1.116 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/0.707, allocations: 46.55 kB / 1.116 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.7071, allocations: 19.75 kB / 1.116 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.7074, allocations: 242.6 kB / 1.116 GB, free: 6.141 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.7074, allocations: 8.234 kB / 1.116 GB, free: 6.133 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.7075, allocations: 12 kB / 1.116 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.7077, allocations: 170.1 kB / 1.116 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.7077, allocations: 0 / 1.116 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.7078, allocations: 15.88 kB / 1.116 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.7078, allocations: 4 kB / 1.116 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.7079, allocations: 67.89 kB / 1.117 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008735/0.7088, allocations: 1.152 MB / 1.118 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.36e-05/0.7089, allocations: 169.1 kB / 1.118 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.7089, allocations: 92.11 kB / 1.118 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.7089, allocations: 75.28 kB / 1.118 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.709, allocations: 109.8 kB / 1.118 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.494e-06/0.709, allocations: 7.984 kB / 1.118 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.585e-05/0.7091, allocations: 41.52 kB / 1.118 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/0.7092, allocations: 186 kB / 1.118 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.7095, allocations: 245 kB / 1.119 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.7095, allocations: 33.64 kB / 1.119 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.7097, allocations: 131.9 kB / 1.119 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.7097, allocations: 0 / 1.119 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.7097, allocations: 21.72 kB / 1.119 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7099, allocations: 330.8 kB / 1.119 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.7099, allocations: 11.98 kB / 1.119 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-05/0.7099, allocations: 63.72 kB / 1.119 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.269e-05/0.71, allocations: 52.23 kB / 1.119 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.71, allocations: 0 / 1.119 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001522/0.7102, allocations: 89.3 kB / 1.119 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7102, allocations: 8 kB / 1.119 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7102, allocations: 4.156 kB / 1.119 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.7103, allocations: 4 kB / 1.119 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.984e-05/0.7103, allocations: 4 kB / 1.119 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.7103, allocations: 4 kB / 1.119 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.7104, allocations: 15.75 kB / 1.119 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.7104, allocations: 4 kB / 1.119 GB, free: 2.805 MB / 0.8731 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.0001259/0.7106, allocations: 205 kB / 1.119 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/0.7107, allocations: 124.7 kB / 1.12 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/0.7107, allocations: 125.8 kB / 1.12 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/0.7108, allocations: 180.3 kB / 1.12 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.901e-05/0.7109, allocations: 184.3 kB / 1.12 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.897e-05/0.711, allocations: 184.2 kB / 1.12 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.7113, allocations: 449.1 kB / 1.121 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/0.7113, allocations: 113 kB / 1.121 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.7114, allocations: 105 kB / 1.121 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.405e-05/0.7114, allocations: 180.3 kB / 1.121 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.665e-05/0.7115, allocations: 180.2 kB / 1.121 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.93e-05/0.7115, allocations: 180.3 kB / 1.121 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-05/0.7116, allocations: 192.1 kB / 1.122 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.7118, allocations: 323.6 kB / 1.122 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/0.7119, allocations: 197.8 kB / 1.122 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.712, allocations: 180.3 kB / 1.122 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.7121, allocations: 104.9 kB / 1.122 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.7122, allocations: 184.3 kB / 1.123 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.7122, allocations: 101 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001637/0.7124, allocations: 188.4 kB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.633e-06/0.7124, allocations: 0 / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002528/0.7127, allocations: 27.94 kB / 1.123 GB, free: 14.95 MB / 0.8887 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.0004399/0.7131, allocations: 0.8242 MB / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.474e-05/0.7132, allocations: 19.94 kB / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7132, allocations: 0 / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.7132, allocations: 0 / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.7139, allocations: 0.5759 MB / 1.124 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.7161, allocations: 2.066 MB / 1.126 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.7164, allocations: 0.7205 MB / 1.127 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 9.019e-05/0.7165, allocations: 25.56 kB / 1.127 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/0.7166, allocations: 39.42 kB / 1.127 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of SimCode: time 4.91e-07/0.7166, allocations: 0 / 1.127 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.738/3.454, allocations: 3.628 MB / 1.131 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/3.455, allocations: 188.7 kB / 1.131 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/5.184, allocations: 3.938 kB / 1.131 GB, free: 6.742 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches