Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_11_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_11_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.001561/0.001561, allocations: 111.6 kB / 15.99 MB, free: 6.355 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.001456/0.001456, allocations: 192.2 kB / 16.91 MB, free: 6.195 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.363/1.363, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.605/2.605, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002065, allocations: 66.19 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3146, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.7266/1.041, allocations: 163.9 MB / 1.224 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005996/1.047, allocations: 5.635 MB / 1.23 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/1.048, allocations: 2.719 kB / 1.23 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004458/1.048, allocations: 88.3 kB / 1.23 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002203/1.048, allocations: 51.59 kB / 1.23 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/1.048, allocations: 33.19 kB / 1.23 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/1.049, allocations: 212.8 kB / 1.23 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/1.049, allocations: 88.84 kB / 1.23 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/1.049, allocations: 100.5 kB / 1.23 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/1.049, allocations: 73.58 kB / 1.23 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/1.049, allocations: 10.66 kB / 1.23 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.426e-05/1.049, allocations: 14.59 kB / 1.23 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/1.049, allocations: 28.95 kB / 1.23 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.239e-05/1.05, allocations: 68.23 kB / 1.23 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/1.05, allocations: 121.4 kB / 1.231 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/1.05, allocations: 0 / 1.231 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.573e-06/1.05, allocations: 0 / 1.231 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.432e-06/1.05, allocations: 2.875 kB / 1.231 GB, free: 13.82 MB / 0.9512 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.000616/1.05, allocations: 443.6 kB / 1.231 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/1.05, allocations: 8.062 kB / 1.231 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/1.051, allocations: 21.62 kB / 1.231 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/1.051, allocations: 239.5 kB / 1.231 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/1.051, allocations: 13.27 kB / 1.231 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/1.051, allocations: 15.86 kB / 1.231 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/1.051, allocations: 175.8 kB / 1.231 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/1.051, allocations: 7.875 kB / 1.231 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/1.051, allocations: 6.531 kB / 1.231 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.051, allocations: 3 kB / 1.231 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/1.051, allocations: 65.7 kB / 1.231 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009673/1.052, allocations: 1.15 MB / 1.233 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.48e-05/1.052, allocations: 169.1 kB / 1.233 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/1.052, allocations: 86.61 kB / 1.233 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/1.052, allocations: 79.28 kB / 1.233 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.609e-05/1.053, allocations: 109.8 kB / 1.233 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/1.053, allocations: 0 / 1.233 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.084e-05/1.053, allocations: 48.19 kB / 1.233 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.053, allocations: 182 kB / 1.233 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/1.053, allocations: 250.1 kB / 1.233 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/1.053, allocations: 25.7 kB / 1.233 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/1.053, allocations: 142.3 kB / 1.234 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/1.053, allocations: 0 / 1.234 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/1.053, allocations: 21.75 kB / 1.234 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.053, allocations: 329.6 kB / 1.234 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/1.053, allocations: 8.938 kB / 1.234 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/1.053, allocations: 66.22 kB / 1.234 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.477e-05/1.054, allocations: 53.23 kB / 1.234 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.054, allocations: 0 / 1.234 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001527/1.054, allocations: 90.64 kB / 1.234 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.054, allocations: 6.906 kB / 1.234 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.054, allocations: 2.469 kB / 1.234 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/1.054, allocations: 2.594 kB / 1.234 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/1.054, allocations: 5.344 kB / 1.234 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/1.054, allocations: 2.75 kB / 1.234 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/1.054, allocations: 25.02 kB / 1.234 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/1.054, allocations: 6.875 kB / 1.234 GB, free: 10.14 MB / 0.9512 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.0001381/1.054, allocations: 200.2 kB / 1.234 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/1.054, allocations: 124.8 kB / 1.235 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/1.054, allocations: 123.4 kB / 1.235 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-05/1.054, allocations: 181.6 kB / 1.235 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.218e-05/1.054, allocations: 185.6 kB / 1.235 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.547e-05/1.054, allocations: 180.2 kB / 1.235 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/1.055, allocations: 452.9 kB / 1.236 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/1.055, allocations: 107.3 kB / 1.236 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/1.055, allocations: 107 kB / 1.236 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.142e-05/1.055, allocations: 184.3 kB / 1.236 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.552e-05/1.055, allocations: 182.5 kB / 1.236 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.358e-05/1.055, allocations: 184.2 kB / 1.236 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.5e-05/1.055, allocations: 184.1 kB / 1.237 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/1.055, allocations: 312.4 kB / 1.237 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/1.055, allocations: 208.6 kB / 1.237 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.49e-05/1.056, allocations: 178.8 kB / 1.237 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/1.056, allocations: 105.8 kB / 1.237 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/1.056, allocations: 181.4 kB / 1.237 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/1.056, allocations: 106.2 kB / 1.238 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001702/1.056, allocations: 182.4 kB / 1.238 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.056, allocations: 4 kB / 1.238 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002385/1.056, allocations: 23.97 kB / 1.238 GB, free: 6.453 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.0001511/1.056, allocations: 174 kB / 1.238 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.918e-05/1.057, allocations: 15.56 kB / 1.238 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/1.057, allocations: 5.562 kB / 1.238 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/1.057, allocations: 0 / 1.238 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/1.057, allocations: 0.502 MB / 1.238 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/1.058, allocations: 386.6 kB / 1.239 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/1.058, allocations: 0.7174 MB / 1.239 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/1.058, allocations: 14.66 kB / 1.24 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/1.058, allocations: 2.875 kB / 1.24 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of Templates: time 0.0039/1.062, allocations: 1.997 MB / 1.241 GB, free: 2.957 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches