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: 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.001298/0.001298, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 197.6 kB / 16.79 MB, free: 6.809 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.535 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.382/2.382, allocations: 390.2 MB / 0.6649 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 59.91 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.771/0.7725, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1859/0.9585, allocations: 163.9 MB / 1.11 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006445/0.965, allocations: 5.699 MB / 1.115 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.9653, allocations: 7.938 kB / 1.115 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.9658, allocations: 79.52 kB / 1.115 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.9661, allocations: 51.66 kB / 1.115 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.9663, allocations: 23.98 kB / 1.115 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.9667, allocations: 255.1 kB / 1.116 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.9669, allocations: 91.41 kB / 1.116 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.9672, allocations: 99.58 kB / 1.116 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.9674, allocations: 67.66 kB / 1.116 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.9674, allocations: 4 kB / 1.116 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 2.904e-05/0.9674, allocations: 8 kB / 1.116 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.9675, allocations: 39.77 kB / 1.116 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.369e-05/0.9676, allocations: 59.69 kB / 1.116 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.9678, allocations: 119.7 kB / 1.116 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.9678, allocations: 0 / 1.116 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.22e-07/0.9678, allocations: 3.938 kB / 1.116 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.9678, allocations: 0 / 1.116 GB, free: 7.066 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.0007063/0.9685, allocations: 450.9 kB / 1.116 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.9686, allocations: 8.031 kB / 1.117 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.9686, allocations: 15.81 kB / 1.117 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.969, allocations: 242.5 kB / 1.117 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.969, allocations: 8.234 kB / 1.117 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.969, allocations: 12 kB / 1.117 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.9693, allocations: 177.8 kB / 1.117 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.9693, allocations: 0 / 1.117 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.9693, allocations: 7.984 kB / 1.117 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.9694, allocations: 4 kB / 1.117 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.9695, allocations: 71.84 kB / 1.117 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.9705, allocations: 1.144 MB / 1.118 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.299e-05/0.9706, allocations: 173.1 kB / 1.118 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.9707, allocations: 88.08 kB / 1.118 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.9707, allocations: 79.22 kB / 1.118 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.9707, allocations: 109.8 kB / 1.119 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.9708, allocations: 0 / 1.119 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.703e-05/0.9709, allocations: 49.55 kB / 1.119 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.9709, allocations: 182.1 kB / 1.119 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.9712, allocations: 249 kB / 1.119 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.9713, allocations: 25.7 kB / 1.119 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.9713, allocations: 127.9 kB / 1.119 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.9714, allocations: 4 kB / 1.119 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.9714, allocations: 17.72 kB / 1.119 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9716, allocations: 334.8 kB / 1.12 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.9716, allocations: 11.94 kB / 1.12 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.969e-05/0.9717, allocations: 63.72 kB / 1.12 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.691e-05/0.9717, allocations: 56.22 kB / 1.12 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9717, allocations: 0 / 1.12 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001755/0.9719, allocations: 89.31 kB / 1.12 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.9719, allocations: 7.938 kB / 1.12 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.972, allocations: 4 kB / 1.12 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.972, allocations: 4.156 kB / 1.12 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.972, allocations: 11.98 kB / 1.12 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.9721, allocations: 0 / 1.12 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.942e-05/0.9722, allocations: 27.81 kB / 1.12 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.9722, allocations: 0 / 1.12 GB, free: 2.934 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.0001421/0.9723, allocations: 209 kB / 1.12 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.9724, allocations: 120.7 kB / 1.12 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.9725, allocations: 121.9 kB / 1.12 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.271e-05/0.9725, allocations: 192.2 kB / 1.12 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.575e-05/0.9726, allocations: 176.3 kB / 1.121 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-05/0.9727, allocations: 180.2 kB / 1.121 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.973, allocations: 449.2 kB / 1.121 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.37e-05/0.973, allocations: 104.9 kB / 1.121 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.9731, allocations: 112.9 kB / 1.121 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.101e-05/0.9732, allocations: 180.3 kB / 1.122 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/0.9732, allocations: 184.2 kB / 1.122 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-05/0.9733, allocations: 180.3 kB / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.518e-05/0.9734, allocations: 180.3 kB / 1.122 GB, free: 460 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.9735, allocations: 319.6 kB / 1.122 GB, free: 116 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.9737, allocations: 210 kB / 1.123 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.9738, allocations: 176.3 kB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.9739, allocations: 101 kB / 1.123 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.974, allocations: 192.2 kB / 1.123 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.974, allocations: 105 kB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000179/0.9742, allocations: 176.5 kB / 1.123 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9742, allocations: 0 / 1.123 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000252/0.9744, allocations: 24 kB / 1.123 GB, free: 15.09 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.0001452/0.9746, allocations: 174.5 kB / 1.123 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.9747, allocations: 19.94 kB / 1.123 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9747, allocations: 4.312 kB / 1.123 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.9747, allocations: 4 kB / 1.123 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.9754, allocations: 0.5813 MB / 1.124 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.9759, allocations: 374.9 kB / 1.124 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.9762, allocations: 0.7088 MB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.9763, allocations: 15.44 kB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of SimCode: time 3.81e-07/0.9763, allocations: 0 / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of Templates: time 0.004012/0.9803, allocations: 1.997 MB / 1.127 GB, free: 11.16 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/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