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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_9_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_9_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.001817/0.001817, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.003058/0.003058, allocations: 189 kB / 16.25 MB, free: 6.152 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.541/1.541, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6643 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001549, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9023/0.9039, allocations: 140.4 MB / 0.9491 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2307/1.135, allocations: 163.9 MB / 1.109 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006142/1.141, allocations: 5.644 MB / 1.115 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003896/1.141, allocations: 8 kB / 1.115 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005055/1.142, allocations: 83.5 kB / 1.115 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002618/1.142, allocations: 51.67 kB / 1.115 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/1.142, allocations: 27.98 kB / 1.115 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003241/1.143, allocations: 211.2 kB / 1.115 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/1.143, allocations: 94.62 kB / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/1.143, allocations: 103.5 kB / 1.115 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/1.143, allocations: 71.69 kB / 1.115 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/1.143, allocations: 12 kB / 1.115 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 2.512e-05/1.143, allocations: 8 kB / 1.115 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/1.143, allocations: 27.86 kB / 1.115 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.613e-05/1.144, allocations: 67.67 kB / 1.115 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/1.144, allocations: 159.4 kB / 1.115 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/1.144, allocations: 7.984 kB / 1.116 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.705e-06/1.144, allocations: 0 / 1.116 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.732e-06/1.144, allocations: 4 kB / 1.116 GB, free: 7.023 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.0007538/1.145, allocations: 434.9 kB / 1.116 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.145, allocations: 8.031 kB / 1.116 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/1.145, allocations: 23.73 kB / 1.116 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/1.145, allocations: 247.3 kB / 1.116 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/1.145, allocations: 8.234 kB / 1.116 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/1.145, allocations: 12 kB / 1.116 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/1.145, allocations: 178.3 kB / 1.116 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/1.145, allocations: 0 / 1.116 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/1.145, allocations: 7.984 kB / 1.116 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/1.145, allocations: 4 kB / 1.116 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/1.146, allocations: 71.84 kB / 1.116 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009126/1.146, allocations: 1.16 MB / 1.118 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.487e-05/1.147, allocations: 169.1 kB / 1.118 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/1.147, allocations: 80.14 kB / 1.118 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/1.147, allocations: 79.22 kB / 1.118 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.754e-05/1.147, allocations: 109.8 kB / 1.118 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/1.147, allocations: 4 kB / 1.118 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.502e-05/1.147, allocations: 45.52 kB / 1.118 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.147, allocations: 182.1 kB / 1.118 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/1.147, allocations: 245 kB / 1.118 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/1.147, allocations: 25.7 kB / 1.118 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/1.147, allocations: 143.8 kB / 1.119 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/1.147, allocations: 3.938 kB / 1.119 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/1.147, allocations: 17.72 kB / 1.119 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.148, allocations: 334.8 kB / 1.119 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/1.148, allocations: 8 kB / 1.119 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/1.148, allocations: 63.72 kB / 1.119 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.198e-05/1.148, allocations: 56.25 kB / 1.119 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.148, allocations: 0 / 1.119 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001655/1.148, allocations: 89.31 kB / 1.119 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.148, allocations: 4.156 kB / 1.119 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.148, allocations: 8 kB / 1.119 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.148, allocations: 0 / 1.119 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/1.148, allocations: 11.98 kB / 1.119 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.148, allocations: 0 / 1.119 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.861e-05/1.148, allocations: 19.75 kB / 1.119 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/1.148, allocations: 4 kB / 1.119 GB, free: 2.891 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.0001476/1.148, allocations: 209 kB / 1.119 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-05/1.148, allocations: 120.7 kB / 1.12 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.504e-05/1.148, allocations: 125.8 kB / 1.12 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-05/1.149, allocations: 180.2 kB / 1.12 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.78e-05/1.149, allocations: 176.3 kB / 1.12 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.222e-05/1.149, allocations: 180.2 kB / 1.12 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/1.149, allocations: 453.1 kB / 1.121 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.291e-05/1.149, allocations: 112.9 kB / 1.121 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/1.149, allocations: 108.9 kB / 1.121 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.705e-05/1.149, allocations: 176.3 kB / 1.121 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.14e-05/1.149, allocations: 184.2 kB / 1.121 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.652e-05/1.149, allocations: 180.3 kB / 1.121 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-05/1.149, allocations: 176.3 kB / 1.121 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/1.15, allocations: 323.7 kB / 1.122 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/1.15, allocations: 205.8 kB / 1.122 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/1.15, allocations: 184.3 kB / 1.122 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/1.15, allocations: 109 kB / 1.122 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/1.15, allocations: 184.2 kB / 1.122 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/1.15, allocations: 101 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001914/1.15, allocations: 184.5 kB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/1.15, allocations: 3.938 kB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002522/1.151, allocations: 23.98 kB / 1.123 GB, free: 15.05 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.0001568/1.151, allocations: 170.5 kB / 1.123 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001067/1.151, allocations: 24 kB / 1.123 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/1.151, allocations: 0 / 1.123 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.599e-06/1.151, allocations: 3.938 kB / 1.123 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/1.152, allocations: 0.5213 MB / 1.123 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/1.152, allocations: 343.5 kB / 1.124 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.152, allocations: 0.7124 MB / 1.124 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 7.968e-05/1.152, allocations: 25.53 kB / 1.124 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/1.152, allocations: 15.44 kB / 1.125 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of SimCode: time 2.21e-07/1.152, allocations: 0 / 1.125 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of Templates: time 0.004631/1.157, allocations: 1.924 MB / 1.126 GB, free: 11.28 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (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 & ./Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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