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.001616/0.001616, allocations: 107.1 kB / 16.36 MB, free: 6.336 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.001749/0.001749, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.387/1.387, 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 9.1.2-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.98 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3504, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.8843/1.235, allocations: 166.1 MB / 1.113 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006468/1.241, allocations: 5.72 MB / 1.119 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/1.242, allocations: 9.031 kB / 1.119 GB, free: 5.219 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Fluid/FMI/FlowSplitter_u.mo:47:3-49:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Fluid/FMI/FlowSplitter_u.mo:50:3-51:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.00054/1.242, allocations: 92.14 kB / 1.119 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002388/1.242, allocations: 58.03 kB / 1.119 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/1.243, allocations: 31.22 kB / 1.119 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/1.243, allocations: 219.7 kB / 1.119 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/1.243, allocations: 88.23 kB / 1.119 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/1.243, allocations: 104.1 kB / 1.119 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/1.244, allocations: 68.22 kB / 1.12 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/1.244, allocations: 11.09 kB / 1.12 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.626e-05/1.244, allocations: 9.969 kB / 1.12 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/1.244, allocations: 32.19 kB / 1.12 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.092e-05/1.244, allocations: 74.91 kB / 1.12 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/1.244, allocations: 158.9 kB / 1.12 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/1.244, allocations: 1.875 kB / 1.12 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.874e-06/1.244, allocations: 0 / 1.12 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.244, allocations: 0 / 1.12 GB, free: 5.184 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.0008671/1.245, allocations: 435.4 kB / 1.12 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.245, allocations: 10.09 kB / 1.12 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/1.245, allocations: 18.62 kB / 1.12 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/1.245, allocations: 258.5 kB / 1.12 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/1.245, allocations: 11.55 kB / 1.121 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/1.245, allocations: 11.38 kB / 1.121 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/1.246, allocations: 171 kB / 1.121 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.246, allocations: 2.531 kB / 1.121 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/1.246, allocations: 5.906 kB / 1.121 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/1.246, allocations: 3.469 kB / 1.121 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/1.246, allocations: 69.09 kB / 1.121 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009307/1.247, allocations: 1.154 MB / 1.122 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/1.247, allocations: 170.4 kB / 1.122 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/1.247, allocations: 80.14 kB / 1.122 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/1.247, allocations: 78.42 kB / 1.122 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/1.247, allocations: 115.4 kB / 1.122 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/1.247, allocations: 3.938 kB / 1.122 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.646e-05/1.247, allocations: 46.92 kB / 1.122 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/1.247, allocations: 186.5 kB / 1.123 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/1.248, allocations: 246.9 kB / 1.123 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/1.248, allocations: 27.2 kB / 1.123 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/1.248, allocations: 135.1 kB / 1.123 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-06/1.248, allocations: 2.062 kB / 1.123 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/1.248, allocations: 19.19 kB / 1.123 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.248, allocations: 327.6 kB / 1.123 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/1.248, allocations: 14.17 kB / 1.123 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.971e-05/1.248, allocations: 67.02 kB / 1.123 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.543e-05/1.248, allocations: 50.86 kB / 1.123 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.248, allocations: 1.094 kB / 1.123 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001662/1.248, allocations: 90.95 kB / 1.123 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.248, allocations: 6.891 kB / 1.123 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.248, allocations: 1.156 kB / 1.123 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.248, allocations: 3.172 kB / 1.123 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/1.248, allocations: 12.61 kB / 1.123 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/1.248, allocations: 4.453 kB / 1.123 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.929e-05/1.248, allocations: 21.48 kB / 1.124 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/1.248, allocations: 2.5 kB / 1.124 GB, free: 18.01 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.0001281/1.248, allocations: 204 kB / 1.124 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/1.249, allocations: 124.5 kB / 1.124 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/1.249, allocations: 122 kB / 1.124 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.659e-05/1.249, allocations: 185.5 kB / 1.124 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.346e-05/1.249, allocations: 180.6 kB / 1.124 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.33e-05/1.249, allocations: 177 kB / 1.124 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/1.249, allocations: 460 kB / 1.125 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.889e-05/1.249, allocations: 103.1 kB / 1.125 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/1.249, allocations: 112.2 kB / 1.125 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.869e-05/1.249, allocations: 180.9 kB / 1.125 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/1.249, allocations: 177.7 kB / 1.125 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.029e-05/1.249, allocations: 183.7 kB / 1.126 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.716e-05/1.25, allocations: 180.3 kB / 1.126 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/1.25, allocations: 326.9 kB / 1.126 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/1.25, allocations: 197.5 kB / 1.126 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/1.25, allocations: 181.5 kB / 1.126 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/1.25, allocations: 108.7 kB / 1.127 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/1.25, allocations: 179.5 kB / 1.127 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/1.25, allocations: 109.8 kB / 1.127 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001843/1.25, allocations: 184.6 kB / 1.127 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/1.25, allocations: 3.938 kB / 1.127 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002512/1.251, allocations: 19.5 kB / 1.127 GB, free: 14.48 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.0001474/1.251, allocations: 171.6 kB / 1.127 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.804e-05/1.251, allocations: 23.28 kB / 1.127 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.251, allocations: 320 / 1.127 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/1.251, allocations: 5.312 kB / 1.127 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/1.251, allocations: 0.4997 MB / 1.128 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/1.252, allocations: 332.4 kB / 1.128 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/1.252, allocations: 0.7159 MB / 1.129 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.601e-05/1.252, allocations: 27.8 kB / 1.129 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/1.252, allocations: 14.44 kB / 1.129 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.252, allocations: 1.656 kB / 1.129 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.005698/1.258, allocations: 1.944 MB / 1.131 GB, free: 12.79 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 -s gbode -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