Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007558/0.007558, allocations: 96.91 kB / 15.87 MB, free: 6.297 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.002026/0.002026, allocations: 201.6 kB / 16.79 MB, free: 6.223 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 71.06 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3028, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1747/0.4776, allocations: 163.9 MB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005885/0.4835, allocations: 5.705 MB / 1.218 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.4838, allocations: 7.938 kB / 1.218 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.4842, allocations: 75.5 kB / 1.218 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.4845, allocations: 59.67 kB / 1.218 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.4846, allocations: 23.98 kB / 1.219 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.485, allocations: 259 kB / 1.219 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.4852, allocations: 99.14 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.4854, allocations: 91.64 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.4856, allocations: 75.58 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.4856, allocations: 8 kB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.822e-05/0.4857, allocations: 8 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.4857, allocations: 27.91 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.469e-05/0.4858, allocations: 63.62 kB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.486, allocations: 119.7 kB / 1.219 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.486, allocations: 3.984 kB / 1.219 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 6.91e-07/0.486, allocations: 0 / 1.219 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.486, allocations: 0 / 1.219 GB, free: 13.2 MB / 0.9825 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.0006262/0.4866, allocations: 438.7 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4867, allocations: 11.97 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.4867, allocations: 23.8 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.487, allocations: 242.6 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.487, allocations: 8 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.4871, allocations: 15.94 kB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.4873, allocations: 173.1 kB / 1.22 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4873, allocations: 3.984 kB / 1.22 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.4873, allocations: 4 kB / 1.22 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.4874, allocations: 4 kB / 1.22 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.4875, allocations: 67.84 kB / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.4884, allocations: 1.148 MB / 1.221 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/0.4885, allocations: 173.1 kB / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.4885, allocations: 84.14 kB / 1.222 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.4885, allocations: 83.16 kB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.4886, allocations: 109.8 kB / 1.222 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.4886, allocations: 3.938 kB / 1.222 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001144/0.4887, allocations: 45.52 kB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.4888, allocations: 182.1 kB / 1.222 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.4891, allocations: 253 kB / 1.222 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4891, allocations: 25.7 kB / 1.222 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.4892, allocations: 127.8 kB / 1.222 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-06/0.4892, allocations: 4 kB / 1.222 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.4892, allocations: 17.72 kB / 1.222 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4893, allocations: 330.8 kB / 1.223 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.4894, allocations: 4 kB / 1.223 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.855e-05/0.4894, allocations: 75.66 kB / 1.223 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.646e-05/0.4895, allocations: 52.22 kB / 1.223 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4895, allocations: 0 / 1.223 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001593/0.4897, allocations: 89.31 kB / 1.223 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4897, allocations: 4 kB / 1.223 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.4897, allocations: 0 / 1.223 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.4897, allocations: 4 kB / 1.223 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.4898, allocations: 12.14 kB / 1.223 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4898, allocations: 4 kB / 1.223 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/0.4899, allocations: 15.84 kB / 1.223 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.4899, allocations: 4 kB / 1.223 GB, free: 9.078 MB / 0.9825 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.0001204/0.49, allocations: 209 kB / 1.223 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.4901, allocations: 124.7 kB / 1.223 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.4902, allocations: 121.9 kB / 1.223 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.367e-05/0.4902, allocations: 188.2 kB / 1.224 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.927e-05/0.4903, allocations: 176.3 kB / 1.224 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.682e-05/0.4904, allocations: 180.3 kB / 1.224 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.4907, allocations: 457.1 kB / 1.224 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.129e-05/0.4907, allocations: 104.9 kB / 1.224 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.4907, allocations: 108.9 kB / 1.225 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.452e-05/0.4908, allocations: 184.2 kB / 1.225 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/0.4909, allocations: 184.4 kB / 1.225 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.706e-05/0.4909, allocations: 180.2 kB / 1.225 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.687e-05/0.491, allocations: 180.3 kB / 1.225 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.4911, allocations: 319.6 kB / 1.226 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4913, allocations: 205.8 kB / 1.226 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.4913, allocations: 184.1 kB / 1.226 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.4915, allocations: 101 kB / 1.226 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.4915, allocations: 188.2 kB / 1.226 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.4916, allocations: 101 kB / 1.226 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001711/0.4917, allocations: 184.5 kB / 1.226 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4917, allocations: 0 / 1.226 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002516/0.492, allocations: 20 kB / 1.226 GB, free: 5.238 MB / 0.9825 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.0001377/0.4921, allocations: 174.5 kB / 1.227 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.387e-05/0.4922, allocations: 19.94 kB / 1.227 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4922, allocations: 0 / 1.227 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.4922, allocations: 320 / 1.227 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.4929, allocations: 0.5892 MB / 1.227 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.4934, allocations: 367 kB / 1.228 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.4937, allocations: 0.7127 MB / 1.228 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.4937, allocations: 15.44 kB / 1.228 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.4937, allocations: 0 / 1.228 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of Templates: time 0.003651/0.4974, allocations: 1.985 MB / 1.23 GB, free: 1.32 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches