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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00123/0.00123, allocations: 104.9 kB / 16.35 MB, free: 5.902 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.001237/0.001237, allocations: 193.9 kB / 17.29 MB, free: 5.523 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 64.84 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.383, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.996/1.379, allocations: 166.1 MB / 1.181 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006896/1.386, allocations: 5.71 MB / 1.187 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000375/1.386, allocations: 9.438 kB / 1.187 GB, free: 3.977 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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 10.1.0-maint.10.0.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 10.1.0-maint.10.0.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.000633/1.387, allocations: 96.3 kB / 1.187 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002659/1.387, allocations: 59.8 kB / 1.187 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/1.388, allocations: 33.45 kB / 1.187 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003424/1.388, allocations: 216.5 kB / 1.187 GB, free: 3.691 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/1.388, allocations: 90.31 kB / 1.187 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/1.388, allocations: 99.44 kB / 1.187 GB, free: 3.59 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/1.389, allocations: 77.14 kB / 1.187 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/1.389, allocations: 9.594 kB / 1.187 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.501e-05/1.389, allocations: 10.94 kB / 1.187 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/1.389, allocations: 25.7 kB / 1.187 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/1.389, allocations: 72.05 kB / 1.187 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/1.389, allocations: 169.5 kB / 1.187 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.389, allocations: 0 / 1.187 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.703e-06/1.389, allocations: 0 / 1.187 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.221e-05/1.389, allocations: 0 / 1.187 GB, free: 3.355 MB / 0.8887 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.0006021/1.39, allocations: 433.3 kB / 1.188 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.39, allocations: 10.3 kB / 1.188 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/1.39, allocations: 20.84 kB / 1.188 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/1.39, allocations: 266.3 kB / 1.188 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/1.39, allocations: 12.77 kB / 1.188 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/1.39, allocations: 11.59 kB / 1.188 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/1.391, allocations: 174.8 kB / 1.188 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.391, allocations: 3.984 kB / 1.188 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/1.391, allocations: 10.59 kB / 1.188 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/1.391, allocations: 2.625 kB / 1.188 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/1.391, allocations: 66 kB / 1.188 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/1.392, allocations: 1.158 MB / 1.19 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/1.392, allocations: 174.2 kB / 1.19 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/1.392, allocations: 80.14 kB / 1.19 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/1.392, allocations: 76.38 kB / 1.19 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.711e-05/1.392, allocations: 114.8 kB / 1.19 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.392, allocations: 0 / 1.19 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001172/1.392, allocations: 42.58 kB / 1.19 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.392, allocations: 191.2 kB / 1.19 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/1.393, allocations: 250.2 kB / 1.19 GB, free: 420 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/1.393, allocations: 25.7 kB / 1.19 GB, free: 388 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/1.393, allocations: 129.8 kB / 1.191 GB, free: 264 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-06/1.393, allocations: 0 / 1.191 GB, free: 264 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/1.393, allocations: 28.2 kB / 1.191 GB, free: 236 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.393, allocations: 327.2 kB / 1.191 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/1.393, allocations: 4.469 kB / 1.191 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/1.393, allocations: 71.59 kB / 1.191 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.715e-05/1.393, allocations: 51.72 kB / 1.191 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.393, allocations: 0 / 1.191 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001685/1.393, allocations: 88.41 kB / 1.191 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.393, allocations: 5.281 kB / 1.191 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.393, allocations: 1.688 kB / 1.191 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/1.394, allocations: 1.281 kB / 1.191 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/1.394, allocations: 11.45 kB / 1.191 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.394, allocations: 5.25 kB / 1.191 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/1.394, allocations: 17.44 kB / 1.191 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/1.394, allocations: 2.75 kB / 1.191 GB, free: 15.68 MB / 0.9044 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.0001443/1.394, allocations: 207.4 kB / 1.191 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/1.394, allocations: 122 kB / 1.191 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/1.394, allocations: 124.3 kB / 1.192 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.366e-05/1.394, allocations: 180.3 kB / 1.192 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.407e-05/1.394, allocations: 177.5 kB / 1.192 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.696e-05/1.394, allocations: 189.9 kB / 1.192 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/1.395, allocations: 452.2 kB / 1.193 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.804e-05/1.395, allocations: 109.9 kB / 1.193 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/1.395, allocations: 105.6 kB / 1.193 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.298e-05/1.395, allocations: 185.7 kB / 1.193 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/1.395, allocations: 181.8 kB / 1.193 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7e-05/1.395, allocations: 176.3 kB / 1.193 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.025e-05/1.395, allocations: 185.6 kB / 1.193 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/1.395, allocations: 321.8 kB / 1.194 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.395, allocations: 203.3 kB / 1.194 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/1.395, allocations: 177.8 kB / 1.194 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/1.395, allocations: 110.3 kB / 1.194 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/1.396, allocations: 181.5 kB / 1.194 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/1.396, allocations: 101 kB / 1.195 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001863/1.396, allocations: 191.4 kB / 1.195 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.443e-06/1.396, allocations: 0 / 1.195 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002449/1.396, allocations: 23.78 kB / 1.195 GB, free: 11.99 MB / 0.9044 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.0001468/1.396, allocations: 170.4 kB / 1.195 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.589e-05/1.396, allocations: 19.8 kB / 1.195 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.396, allocations: 1.375 kB / 1.195 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/1.396, allocations: 4.25 kB / 1.195 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/1.397, allocations: 0.5073 MB / 1.195 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/1.397, allocations: 324.7 kB / 1.196 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/1.398, allocations: 0.7189 MB / 1.196 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.057e-05/1.398, allocations: 21.2 kB / 1.196 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/1.398, allocations: 15.62 kB / 1.196 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of SimCode: time 1.91e-07/1.398, allocations: 0 / 1.196 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of Templates: time 0.00484/1.403, allocations: 1.945 MB / 1.198 GB, free: 9.375 MB / 0.9044 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 -s gbode -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/jenkins1/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