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.001243/0.001243, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.00128/0.00128, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.386/1.386, 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.258/2.258, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 62 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3177, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.9996/1.317, allocations: 166.1 MB / 1.113 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006987/1.324, allocations: 5.71 MB / 1.119 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004057/1.325, allocations: 8.969 kB / 1.119 GB, free: 5.625 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.0006246/1.325, allocations: 92.84 kB / 1.119 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002706/1.326, allocations: 63.36 kB / 1.119 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/1.326, allocations: 37.22 kB / 1.119 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003452/1.326, allocations: 210.1 kB / 1.119 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/1.327, allocations: 87.53 kB / 1.119 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/1.327, allocations: 100.8 kB / 1.119 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/1.327, allocations: 75.05 kB / 1.12 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.712e-05/1.327, allocations: 11.75 kB / 1.12 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.944e-05/1.327, allocations: 14.03 kB / 1.12 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/1.327, allocations: 27.39 kB / 1.12 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/1.327, allocations: 71.16 kB / 1.12 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/1.327, allocations: 161.8 kB / 1.12 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.328, allocations: 1.375 kB / 1.12 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/1.328, allocations: 0 / 1.12 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.171e-06/1.328, allocations: 0 / 1.12 GB, free: 5.586 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.0008548/1.328, allocations: 435.9 kB / 1.12 GB, free: 21.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.328, allocations: 10.09 kB / 1.12 GB, free: 21.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/1.328, allocations: 24.5 kB / 1.12 GB, free: 21.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/1.329, allocations: 255.5 kB / 1.121 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/1.329, allocations: 8.797 kB / 1.121 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/1.329, allocations: 10.91 kB / 1.121 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/1.329, allocations: 177 kB / 1.121 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/1.329, allocations: 0 / 1.121 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/1.329, allocations: 6.656 kB / 1.121 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/1.329, allocations: 3.219 kB / 1.121 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/1.329, allocations: 70.03 kB / 1.121 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009536/1.33, allocations: 1.153 MB / 1.122 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/1.33, allocations: 170.8 kB / 1.122 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/1.33, allocations: 82.67 kB / 1.122 GB, free: 19.58 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/1.33, allocations: 76.78 kB / 1.122 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/1.331, allocations: 110.5 kB / 1.122 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/1.331, allocations: 5.438 kB / 1.122 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.069e-05/1.331, allocations: 44.83 kB / 1.122 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/1.331, allocations: 179.8 kB / 1.123 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/1.331, allocations: 249.4 kB / 1.123 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/1.331, allocations: 27.89 kB / 1.123 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/1.331, allocations: 136.3 kB / 1.123 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/1.331, allocations: 4.547 kB / 1.123 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/1.331, allocations: 24.39 kB / 1.123 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.331, allocations: 331.2 kB / 1.123 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/1.331, allocations: 7 kB / 1.123 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.274e-05/1.331, allocations: 67.97 kB / 1.123 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.281e-05/1.332, allocations: 51.05 kB / 1.123 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.332, allocations: 0.6875 kB / 1.123 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00017/1.332, allocations: 88.23 kB / 1.123 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.332, allocations: 7.266 kB / 1.123 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.332, allocations: 5.062 kB / 1.123 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.332, allocations: 2.062 kB / 1.123 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/1.332, allocations: 11.48 kB / 1.124 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.332, allocations: 1.875 kB / 1.124 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/1.332, allocations: 24.33 kB / 1.124 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/1.332, allocations: 1.938 kB / 1.124 GB, free: 18.41 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.0001385/1.332, allocations: 203.2 kB / 1.124 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/1.332, allocations: 125.2 kB / 1.124 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/1.332, allocations: 126.3 kB / 1.124 GB, free: 17.99 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.621e-05/1.332, allocations: 180.6 kB / 1.124 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-05/1.332, allocations: 181.8 kB / 1.124 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.871e-05/1.333, allocations: 178.2 kB / 1.124 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/1.333, allocations: 454.7 kB / 1.125 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-05/1.333, allocations: 109.5 kB / 1.125 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/1.333, allocations: 107.2 kB / 1.125 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.716e-05/1.333, allocations: 179.5 kB / 1.125 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/1.333, allocations: 181.9 kB / 1.125 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.482e-05/1.333, allocations: 181.2 kB / 1.126 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.596e-05/1.333, allocations: 180.3 kB / 1.126 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/1.333, allocations: 325.5 kB / 1.126 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.333, allocations: 199.8 kB / 1.126 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.389e-05/1.334, allocations: 184.9 kB / 1.126 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/1.334, allocations: 106.8 kB / 1.127 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/1.334, allocations: 183.5 kB / 1.127 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/1.334, allocations: 103.1 kB / 1.127 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002116/1.334, allocations: 184.2 kB / 1.127 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.334, allocations: 0 / 1.127 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002595/1.334, allocations: 20.69 kB / 1.127 GB, free: 14.89 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.0001287/1.334, allocations: 170.4 kB / 1.127 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001062/1.335, allocations: 27.67 kB / 1.127 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.335, allocations: 1.188 kB / 1.127 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/1.335, allocations: 4.328 kB / 1.127 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/1.335, allocations: 0.5027 MB / 1.128 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/1.336, allocations: 331.3 kB / 1.128 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/1.336, allocations: 0.7197 MB / 1.129 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.497e-05/1.336, allocations: 19.81 kB / 1.129 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/1.336, allocations: 15.88 kB / 1.129 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.336, allocations: 3.938 kB / 1.129 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.005301/1.341, allocations: 1.937 MB / 1.131 GB, free: 13.19 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 cvode -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