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.001211/0.001211, allocations: 110.4 kB / 15.99 MB, free: 6.367 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.001246/0.001246, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.286/2.286, allocations: 390.3 MB / 0.665 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 66.38 kB / 0.8127 GB, free: 33.33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3041, allocations: 140.4 MB / 0.9498 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.7909/1.095, allocations: 163.9 MB / 1.11 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005552/1.101, allocations: 5.65 MB / 1.115 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/1.101, allocations: 5.75 kB / 1.115 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004175/1.101, allocations: 84.16 kB / 1.115 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002358/1.102, allocations: 52.02 kB / 1.115 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/1.102, allocations: 30.27 kB / 1.115 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003142/1.102, allocations: 213.4 kB / 1.116 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/1.102, allocations: 91.38 kB / 1.116 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/1.103, allocations: 98.3 kB / 1.116 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/1.103, allocations: 80.17 kB / 1.116 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/1.103, allocations: 9.75 kB / 1.116 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.537e-05/1.103, allocations: 10.22 kB / 1.116 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/1.103, allocations: 27.3 kB / 1.116 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.893e-05/1.103, allocations: 74.25 kB / 1.116 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/1.103, allocations: 117.9 kB / 1.116 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.103, allocations: 0 / 1.116 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/1.103, allocations: 0 / 1.116 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.703e-06/1.103, allocations: 0 / 1.116 GB, free: 5.484 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.0008764/1.104, allocations: 442.2 kB / 1.117 GB, free: 21.09 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.104, allocations: 14.2 kB / 1.117 GB, free: 21.09 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/1.104, allocations: 17.16 kB / 1.117 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/1.104, allocations: 247.4 kB / 1.117 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/1.104, allocations: 9.578 kB / 1.117 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/1.105, allocations: 11.56 kB / 1.117 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/1.105, allocations: 177.5 kB / 1.117 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.105, allocations: 5.328 kB / 1.117 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/1.105, allocations: 5.234 kB / 1.117 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/1.105, allocations: 4.031 kB / 1.117 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/1.105, allocations: 69.89 kB / 1.117 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008357/1.106, allocations: 1.151 MB / 1.118 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.034e-05/1.106, allocations: 171.8 kB / 1.118 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/1.106, allocations: 82.06 kB / 1.118 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/1.106, allocations: 78.91 kB / 1.119 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/1.106, allocations: 111.8 kB / 1.119 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/1.106, allocations: 1.203 kB / 1.119 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.958e-05/1.106, allocations: 46.14 kB / 1.119 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/1.106, allocations: 182.6 kB / 1.119 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/1.106, allocations: 247.1 kB / 1.119 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/1.106, allocations: 30.33 kB / 1.119 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/1.107, allocations: 135.4 kB / 1.119 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/1.107, allocations: 1.125 kB / 1.119 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/1.107, allocations: 20.03 kB / 1.119 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.107, allocations: 328.3 kB / 1.12 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/1.107, allocations: 9.156 kB / 1.12 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/1.107, allocations: 70.84 kB / 1.12 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.348e-05/1.107, allocations: 54.83 kB / 1.12 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/1.107, allocations: 0 / 1.12 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001615/1.107, allocations: 86.28 kB / 1.12 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.107, allocations: 6.422 kB / 1.12 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.107, allocations: 1.375 kB / 1.12 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.107, allocations: 1.938 kB / 1.12 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/1.107, allocations: 9.984 kB / 1.12 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.107, allocations: 6.531 kB / 1.12 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/1.107, allocations: 20.16 kB / 1.12 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/1.107, allocations: 6.734 kB / 1.12 GB, free: 18.3 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.0001262/1.107, allocations: 205.5 kB / 1.12 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/1.107, allocations: 124.5 kB / 1.12 GB, free: 18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.365e-05/1.108, allocations: 121.4 kB / 1.12 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.878e-05/1.108, allocations: 182 kB / 1.12 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.18e-05/1.108, allocations: 180.7 kB / 1.121 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.15e-05/1.108, allocations: 188.5 kB / 1.121 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/1.108, allocations: 449.8 kB / 1.121 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.156e-05/1.108, allocations: 105.2 kB / 1.121 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/1.108, allocations: 106.7 kB / 1.121 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-05/1.108, allocations: 183.3 kB / 1.122 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/1.108, allocations: 181.2 kB / 1.122 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-05/1.108, allocations: 182.6 kB / 1.122 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.07e-05/1.108, allocations: 181 kB / 1.122 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/1.109, allocations: 321.6 kB / 1.122 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/1.109, allocations: 200.3 kB / 1.123 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/1.109, allocations: 181.3 kB / 1.123 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/1.109, allocations: 106.2 kB / 1.123 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/1.109, allocations: 180.3 kB / 1.123 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/1.109, allocations: 102.6 kB / 1.123 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001884/1.109, allocations: 188.8 kB / 1.123 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.102e-06/1.109, allocations: 0 / 1.123 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002562/1.109, allocations: 24.06 kB / 1.123 GB, free: 14.78 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.0001337/1.11, allocations: 170.4 kB / 1.124 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001095/1.11, allocations: 21.03 kB / 1.124 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.11, allocations: 1.531 kB / 1.124 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/1.11, allocations: 4.25 kB / 1.124 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/1.11, allocations: 0.5089 MB / 1.124 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/1.111, allocations: 386.4 kB / 1.124 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/1.111, allocations: 0.7159 MB / 1.125 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/1.111, allocations: 15.22 kB / 1.125 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/1.111, allocations: 0 / 1.125 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of Templates: time 0.004489/1.116, allocations: 2.004 MB / 1.127 GB, free: 12.98 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