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.01007/0.01007, allocations: 97.84 kB / 15.73 MB, free: 5.605 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.00167/0.001671, allocations: 197.2 kB / 16.67 MB, free: 5.531 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.422/1.422, allocations: 222.9 MB / 240.4 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.589/2.589, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 56.27 kB / 1.018 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.119, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2273/1.347, allocations: 166.1 MB / 1.329 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006891/1.354, allocations: 5.707 MB / 1.334 GB, free: 7.422 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003657/1.354, allocations: 15.88 kB / 1.334 GB, free: 7.406 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005703/1.355, allocations: 103.3 kB / 1.334 GB, free: 7.305 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003557/1.355, allocations: 51.61 kB / 1.335 GB, free: 7.254 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/1.355, allocations: 35.94 kB / 1.335 GB, free: 7.219 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004685/1.356, allocations: 219.1 kB / 1.335 GB, free: 7.004 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/1.356, allocations: 86.62 kB / 1.335 GB, free: 6.918 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/1.357, allocations: 111.6 kB / 1.335 GB, free: 6.809 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/1.357, allocations: 71.66 kB / 1.335 GB, free: 6.738 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/1.357, allocations: 8 kB / 1.335 GB, free: 6.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.334e-05/1.357, allocations: 12 kB / 1.335 GB, free: 6.719 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/1.357, allocations: 31.86 kB / 1.335 GB, free: 6.688 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/1.357, allocations: 71.59 kB / 1.335 GB, free: 6.617 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003297/1.357, allocations: 167.8 kB / 1.335 GB, free: 6.457 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/1.357, allocations: 0 / 1.335 GB, free: 6.457 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.394e-06/1.357, allocations: 0 / 1.335 GB, free: 6.457 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.38e-05/1.357, allocations: 4 kB / 1.335 GB, free: 6.453 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.0009924/1.358, allocations: 442.6 kB / 1.336 GB, free: 5.973 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/1.358, allocations: 8.922 kB / 1.336 GB, free: 5.965 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/1.359, allocations: 15.91 kB / 1.336 GB, free: 5.949 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/1.359, allocations: 262.5 kB / 1.336 GB, free: 5.652 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/1.359, allocations: 16 kB / 1.336 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/1.359, allocations: 12 kB / 1.336 GB, free: 5.625 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/1.36, allocations: 164.4 kB / 1.336 GB, free: 5.434 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/1.36, allocations: 0 / 1.336 GB, free: 5.434 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/1.36, allocations: 12 kB / 1.336 GB, free: 5.422 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/1.36, allocations: 4 kB / 1.336 GB, free: 5.418 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/1.36, allocations: 63.84 kB / 1.336 GB, free: 5.355 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/1.361, allocations: 1.148 MB / 1.337 GB, free: 4.129 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/1.361, allocations: 169.1 kB / 1.338 GB, free: 3.953 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/1.361, allocations: 80.14 kB / 1.338 GB, free: 3.871 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/1.361, allocations: 83.22 kB / 1.338 GB, free: 3.789 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.37e-05/1.361, allocations: 105.8 kB / 1.338 GB, free: 3.676 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/1.361, allocations: 4 kB / 1.338 GB, free: 3.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001425/1.362, allocations: 45.55 kB / 1.338 GB, free: 3.621 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/1.362, allocations: 182.1 kB / 1.338 GB, free: 3.418 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/1.362, allocations: 252.9 kB / 1.338 GB, free: 3.168 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/1.362, allocations: 29.7 kB / 1.338 GB, free: 3.133 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/1.362, allocations: 132 kB / 1.338 GB, free: 3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-06/1.362, allocations: 0 / 1.338 GB, free: 3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/1.362, allocations: 25.7 kB / 1.338 GB, free: 2.969 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.362, allocations: 326.8 kB / 1.339 GB, free: 2.641 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/1.363, allocations: 7.938 kB / 1.339 GB, free: 2.633 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/1.363, allocations: 75.66 kB / 1.339 GB, free: 2.531 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.159e-05/1.363, allocations: 48.16 kB / 1.339 GB, free: 2.469 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/1.363, allocations: 4 kB / 1.339 GB, free: 2.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002477/1.363, allocations: 89.55 kB / 1.339 GB, free: 2.371 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/1.363, allocations: 8 kB / 1.339 GB, free: 2.363 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.363, allocations: 4 kB / 1.339 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/1.363, allocations: 0 / 1.339 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/1.363, allocations: 15.97 kB / 1.339 GB, free: 2.344 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/1.363, allocations: 4 kB / 1.339 GB, free: 2.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/1.363, allocations: 19.88 kB / 1.339 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/1.363, allocations: 7.984 kB / 1.339 GB, free: 2.312 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.000193/1.363, allocations: 209.2 kB / 1.339 GB, free: 2.098 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/1.364, allocations: 120.8 kB / 1.339 GB, free: 1.973 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/1.364, allocations: 129.6 kB / 1.339 GB, free: 1.836 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.295e-05/1.364, allocations: 176.3 kB / 1.34 GB, free: 1.656 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.696e-05/1.364, allocations: 180.2 kB / 1.34 GB, free: 1.473 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-05/1.364, allocations: 188.3 kB / 1.34 GB, free: 1.281 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/1.364, allocations: 453.1 kB / 1.34 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.794e-05/1.364, allocations: 108.9 kB / 1.341 GB, free: 0.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/1.364, allocations: 101 kB / 1.341 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.37e-05/1.365, allocations: 184.2 kB / 1.341 GB, free: 384 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-05/1.365, allocations: 180.3 kB / 1.341 GB, free: 196 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-05/1.365, allocations: 184.4 kB / 1.341 GB, free: 4 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001072/1.365, allocations: 180.3 kB / 1.341 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/1.365, allocations: 323.7 kB / 1.342 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/1.365, allocations: 197.9 kB / 1.342 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.365, allocations: 184.2 kB / 1.342 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/1.365, allocations: 109 kB / 1.342 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/1.366, allocations: 176.3 kB / 1.342 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/1.366, allocations: 104.9 kB / 1.342 GB, free: 14.67 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002017/1.366, allocations: 188.5 kB / 1.343 GB, free: 14.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.366, allocations: 0 / 1.343 GB, free: 14.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002841/1.366, allocations: 23.95 kB / 1.343 GB, free: 14.46 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.0001992/1.366, allocations: 174.5 kB / 1.343 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001382/1.366, allocations: 23.92 kB / 1.343 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.366, allocations: 3.938 kB / 1.343 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/1.366, allocations: 0 / 1.343 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007287/1.367, allocations: 0.5158 MB / 1.343 GB, free: 13.73 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/1.368, allocations: 315.3 kB / 1.344 GB, free: 13.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/1.368, allocations: 0.7241 MB / 1.344 GB, free: 12.64 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.052e-05/1.368, allocations: 17.55 kB / 1.344 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/1.368, allocations: 19.44 kB / 1.344 GB, free: 12.61 MB / 1.076 GB Notification: Performance of SimCode: time 7.01e-07/1.368, allocations: 0 / 1.344 GB, free: 12.61 MB / 1.076 GB Notification: Performance of Templates: time 0.006655/1.375, allocations: 1.956 MB / 1.346 GB, free: 10.68 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/jenkins/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