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.001411/0.001417, allocations: 108.6 kB / 16.27 MB, free: 6.414 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.001563/0.001563, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.435/1.435, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.254/2.254, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 69.91 kB / 0.8132 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2849, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.7871/1.072, allocations: 166.1 MB / 1.112 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005956/1.078, allocations: 5.705 MB / 1.118 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/1.078, allocations: 6.438 kB / 1.118 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004698/1.079, allocations: 91.95 kB / 1.118 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000249/1.079, allocations: 58.27 kB / 1.118 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/1.079, allocations: 36.41 kB / 1.118 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003148/1.08, allocations: 218.8 kB / 1.118 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/1.08, allocations: 88.94 kB / 1.119 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/1.08, allocations: 101.1 kB / 1.119 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/1.08, allocations: 73.69 kB / 1.119 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/1.08, allocations: 9.719 kB / 1.119 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/1.08, allocations: 14.47 kB / 1.119 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/1.08, allocations: 31.12 kB / 1.119 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/1.081, allocations: 65.98 kB / 1.119 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/1.081, allocations: 161 kB / 1.119 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.081, allocations: 4 kB / 1.119 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.303e-06/1.081, allocations: 0 / 1.119 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.161e-06/1.081, allocations: 1.281 kB / 1.119 GB, free: 5.016 MB / 0.8575 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.0007557/1.082, allocations: 436.2 kB / 1.119 GB, free: 20.62 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/1.082, allocations: 8.969 kB / 1.119 GB, free: 20.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/1.082, allocations: 17.97 kB / 1.119 GB, free: 20.62 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/1.082, allocations: 242.2 kB / 1.12 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/1.082, allocations: 11.08 kB / 1.12 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/1.082, allocations: 12.41 kB / 1.12 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/1.082, allocations: 172.9 kB / 1.12 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.082, allocations: 2.344 kB / 1.12 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/1.082, allocations: 5.781 kB / 1.12 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/1.082, allocations: 4.906 kB / 1.12 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/1.082, allocations: 73.33 kB / 1.12 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009294/1.083, allocations: 1.15 MB / 1.121 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.619e-05/1.083, allocations: 172.9 kB / 1.121 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/1.083, allocations: 81.61 kB / 1.121 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/1.083, allocations: 75.98 kB / 1.121 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/1.084, allocations: 121 kB / 1.121 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/1.084, allocations: 0 / 1.121 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001029/1.084, allocations: 42.98 kB / 1.121 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.854e-05/1.084, allocations: 180.5 kB / 1.122 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/1.084, allocations: 248.6 kB / 1.122 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/1.084, allocations: 26.8 kB / 1.122 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/1.084, allocations: 135.3 kB / 1.122 GB, free: 18.35 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/1.084, allocations: 1.156 kB / 1.122 GB, free: 18.35 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/1.084, allocations: 24.48 kB / 1.122 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.084, allocations: 327.2 kB / 1.122 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/1.084, allocations: 6.078 kB / 1.122 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/1.084, allocations: 71.31 kB / 1.122 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.656e-05/1.085, allocations: 49.45 kB / 1.123 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.085, allocations: 1.125 kB / 1.123 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001698/1.085, allocations: 90.8 kB / 1.123 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.085, allocations: 9.422 kB / 1.123 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.085, allocations: 1.906 kB / 1.123 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.085, allocations: 8.641 kB / 1.123 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/1.085, allocations: 8.578 kB / 1.123 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/1.085, allocations: 5.469 kB / 1.123 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/1.085, allocations: 20.47 kB / 1.123 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/1.085, allocations: 7.031 kB / 1.123 GB, free: 17.84 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.0001349/1.085, allocations: 204.1 kB / 1.123 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.08e-05/1.085, allocations: 125.8 kB / 1.123 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.246e-05/1.085, allocations: 122 kB / 1.123 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.259e-05/1.085, allocations: 179.3 kB / 1.123 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.747e-05/1.085, allocations: 184.9 kB / 1.123 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.984e-05/1.086, allocations: 178.3 kB / 1.124 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/1.086, allocations: 459.1 kB / 1.124 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-05/1.086, allocations: 104.7 kB / 1.124 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/1.086, allocations: 106.6 kB / 1.124 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-05/1.086, allocations: 180.7 kB / 1.124 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.228e-05/1.086, allocations: 179.8 kB / 1.125 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.726e-05/1.086, allocations: 184.4 kB / 1.125 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.189e-05/1.086, allocations: 182.1 kB / 1.125 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/1.086, allocations: 320.8 kB / 1.125 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/1.087, allocations: 200.4 kB / 1.125 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.632e-05/1.087, allocations: 181.6 kB / 1.126 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/1.087, allocations: 110.8 kB / 1.126 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/1.087, allocations: 180.3 kB / 1.126 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/1.087, allocations: 106 kB / 1.126 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001786/1.087, allocations: 183.6 kB / 1.126 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.087, allocations: 0 / 1.126 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002676/1.087, allocations: 20.94 kB / 1.126 GB, free: 14.31 MB / 0.8731 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.0001381/1.087, allocations: 175 kB / 1.126 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001019/1.088, allocations: 21.42 kB / 1.126 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.088, allocations: 1.062 kB / 1.126 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/1.088, allocations: 0 / 1.126 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006639/1.088, allocations: 0.508 MB / 1.127 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/1.089, allocations: 360.2 kB / 1.127 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/1.089, allocations: 0.7202 MB / 1.128 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/1.089, allocations: 14.72 kB / 1.128 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.089, allocations: 0 / 1.128 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.00506/1.094, allocations: 1.992 MB / 1.13 GB, free: 12.55 MB / 0.8731 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