Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001476/0.001476, allocations: 109 kB / 16.41 MB, free: 6.492 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.001634/0.001634, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7587/0.7601, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1904/0.9506, allocations: 166.1 MB / 1.329 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006227/0.9569, allocations: 5.719 MB / 1.335 GB, free: 7.414 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.9572, allocations: 8 kB / 1.335 GB, free: 7.406 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.9577, allocations: 99.31 kB / 1.335 GB, free: 7.309 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.9579, allocations: 55.62 kB / 1.335 GB, free: 7.254 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.9581, allocations: 39.89 kB / 1.335 GB, free: 7.215 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.9584, allocations: 219.1 kB / 1.335 GB, free: 7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.9586, allocations: 94.61 kB / 1.336 GB, free: 6.906 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.9589, allocations: 99.64 kB / 1.336 GB, free: 6.809 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.959, allocations: 67.69 kB / 1.336 GB, free: 6.742 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.9591, allocations: 12 kB / 1.336 GB, free: 6.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.9591, allocations: 12 kB / 1.336 GB, free: 6.719 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.9591, allocations: 31.86 kB / 1.336 GB, free: 6.688 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.9592, allocations: 75.55 kB / 1.336 GB, free: 6.613 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.9595, allocations: 153.3 kB / 1.336 GB, free: 6.465 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9595, allocations: 0 / 1.336 GB, free: 6.465 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9595, allocations: 0 / 1.336 GB, free: 6.465 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.9595, allocations: 4 kB / 1.336 GB, free: 6.461 MB / 1.061 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.0006145/0.9601, allocations: 442.7 kB / 1.336 GB, free: 5.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.9602, allocations: 8.922 kB / 1.336 GB, free: 5.973 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.9602, allocations: 23.81 kB / 1.336 GB, free: 5.949 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.9605, allocations: 251.5 kB / 1.337 GB, free: 5.664 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.9606, allocations: 8 kB / 1.337 GB, free: 5.656 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.9606, allocations: 12 kB / 1.337 GB, free: 5.645 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.9608, allocations: 172.4 kB / 1.337 GB, free: 5.445 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.9609, allocations: 4 kB / 1.337 GB, free: 5.441 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.9609, allocations: 4 kB / 1.337 GB, free: 5.438 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.9609, allocations: 4 kB / 1.337 GB, free: 5.434 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.961, allocations: 71.83 kB / 1.337 GB, free: 5.363 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009387/0.962, allocations: 1.152 MB / 1.338 GB, free: 4.133 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.9621, allocations: 169.1 kB / 1.338 GB, free: 3.957 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.9621, allocations: 80.14 kB / 1.338 GB, free: 3.875 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.9621, allocations: 83.22 kB / 1.338 GB, free: 3.793 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/0.9622, allocations: 109.8 kB / 1.338 GB, free: 3.676 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.9622, allocations: 4 kB / 1.338 GB, free: 3.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.467e-05/0.9623, allocations: 45.5 kB / 1.339 GB, free: 3.621 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.9624, allocations: 178.1 kB / 1.339 GB, free: 3.422 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.9627, allocations: 252.9 kB / 1.339 GB, free: 3.172 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.9627, allocations: 25.7 kB / 1.339 GB, free: 3.141 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.9628, allocations: 131.9 kB / 1.339 GB, free: 3.008 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.871e-06/0.9628, allocations: 0 / 1.339 GB, free: 3.008 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.9629, allocations: 29.59 kB / 1.339 GB, free: 2.973 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.963, allocations: 334.8 kB / 1.339 GB, free: 2.637 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.963, allocations: 8 kB / 1.339 GB, free: 2.629 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.016e-05/0.9631, allocations: 63.72 kB / 1.34 GB, free: 2.539 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.749e-05/0.9632, allocations: 52.23 kB / 1.34 GB, free: 2.473 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9632, allocations: 0 / 1.34 GB, free: 2.473 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001636/0.9633, allocations: 89.3 kB / 1.34 GB, free: 2.379 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.9634, allocations: 8 kB / 1.34 GB, free: 2.371 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.9634, allocations: 4.328 kB / 1.34 GB, free: 2.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.9634, allocations: 11.98 kB / 1.34 GB, free: 2.355 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.9635, allocations: 4 kB / 1.34 GB, free: 2.352 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.9635, allocations: 4 kB / 1.34 GB, free: 2.348 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-05/0.9636, allocations: 15.83 kB / 1.34 GB, free: 2.332 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.9636, allocations: 4 kB / 1.34 GB, free: 2.328 MB / 1.061 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.0001433/0.9637, allocations: 205.1 kB / 1.34 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.381e-05/0.9638, allocations: 124.7 kB / 1.34 GB, free: 1.988 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.9639, allocations: 121.6 kB / 1.34 GB, free: 1.859 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.358e-05/0.964, allocations: 184.2 kB / 1.34 GB, free: 1.672 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.435e-05/0.964, allocations: 184.3 kB / 1.34 GB, free: 1.484 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.751e-05/0.9641, allocations: 184.2 kB / 1.341 GB, free: 1.297 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.9644, allocations: 449.2 kB / 1.341 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-05/0.9645, allocations: 108.9 kB / 1.341 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.9645, allocations: 104.9 kB / 1.341 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.06e-05/0.9646, allocations: 180.3 kB / 1.341 GB, free: 404 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.9647, allocations: 184.1 kB / 1.342 GB, free: 212 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.179e-05/0.9647, allocations: 184.4 kB / 1.342 GB, free: 20 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.509e-05/0.9648, allocations: 180.3 kB / 1.342 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.965, allocations: 319.6 kB / 1.342 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.9651, allocations: 205.8 kB / 1.342 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.9652, allocations: 180.3 kB / 1.343 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.9653, allocations: 101 kB / 1.343 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/0.9654, allocations: 188.2 kB / 1.343 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.9654, allocations: 109 kB / 1.343 GB, free: 14.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00018/0.9656, allocations: 176.5 kB / 1.343 GB, free: 14.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9656, allocations: 0 / 1.343 GB, free: 14.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002533/0.9659, allocations: 24 kB / 1.343 GB, free: 14.48 MB / 1.076 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.0001428/0.966, allocations: 179.3 kB / 1.343 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.553e-05/0.9661, allocations: 24.12 kB / 1.343 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.9662, allocations: 0 / 1.343 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.9662, allocations: 3.938 kB / 1.343 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.9668, allocations: 0.5102 MB / 1.344 GB, free: 13.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.9673, allocations: 357.2 kB / 1.344 GB, free: 13.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.9677, allocations: 0.7124 MB / 1.345 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.9677, allocations: 15.44 kB / 1.345 GB, free: 12.62 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9677, allocations: 0 / 1.345 GB, free: 12.62 MB / 1.076 GB Notification: Performance of Templates: time 0.004283/0.972, allocations: 1.998 MB / 1.347 GB, free: 10.63 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches