Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001475/0.001475, allocations: 107.5 kB / 16.36 MB, free: 5.824 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.001614/0.001614, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.452/1.452, 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 11.0.0-master/package.mo): time 2.533/2.533, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 60.09 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3637, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.8846/1.248, allocations: 166.1 MB / 1.189 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00665/1.255, allocations: 5.702 MB / 1.194 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/1.255, allocations: 4.406 kB / 1.194 GB, free: 9.996 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 11.0.0-master/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 11.0.0-master/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.0005118/1.256, allocations: 96.31 kB / 1.195 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002434/1.256, allocations: 60.36 kB / 1.195 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/1.257, allocations: 36.91 kB / 1.195 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003452/1.257, allocations: 213.1 kB / 1.195 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/1.257, allocations: 89 kB / 1.195 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/1.257, allocations: 103.6 kB / 1.195 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/1.258, allocations: 74.34 kB / 1.195 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/1.258, allocations: 13.56 kB / 1.195 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.545e-05/1.258, allocations: 9.594 kB / 1.195 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/1.258, allocations: 34.48 kB / 1.195 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.723e-05/1.258, allocations: 67.31 kB / 1.195 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/1.258, allocations: 161.6 kB / 1.195 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.258, allocations: 3.938 kB / 1.195 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.443e-06/1.258, allocations: 0 / 1.195 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.258, allocations: 0 / 1.195 GB, free: 9.371 MB / 0.9044 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.0007553/1.259, allocations: 438.3 kB / 1.196 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.259, allocations: 14.25 kB / 1.196 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/1.259, allocations: 20.91 kB / 1.196 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/1.259, allocations: 252.3 kB / 1.196 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/1.259, allocations: 13.39 kB / 1.196 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/1.259, allocations: 12.22 kB / 1.196 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/1.26, allocations: 170.5 kB / 1.196 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.26, allocations: 3.25 kB / 1.196 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/1.26, allocations: 4 kB / 1.196 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/1.26, allocations: 2.875 kB / 1.196 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/1.26, allocations: 67.44 kB / 1.196 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009841/1.261, allocations: 1.158 MB / 1.197 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.623e-05/1.261, allocations: 169.1 kB / 1.198 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/1.261, allocations: 80.14 kB / 1.198 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/1.261, allocations: 75.28 kB / 1.198 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/1.261, allocations: 124.5 kB / 1.198 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/1.261, allocations: 0 / 1.198 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.595e-05/1.261, allocations: 43.39 kB / 1.198 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.261, allocations: 178.1 kB / 1.198 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/1.262, allocations: 252.9 kB / 1.198 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/1.262, allocations: 27.08 kB / 1.198 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/1.262, allocations: 129.5 kB / 1.199 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-06/1.262, allocations: 3.984 kB / 1.199 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/1.262, allocations: 28.5 kB / 1.199 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.262, allocations: 327 kB / 1.199 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/1.262, allocations: 4.125 kB / 1.199 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/1.262, allocations: 66.72 kB / 1.199 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.672e-05/1.262, allocations: 52.59 kB / 1.199 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.262, allocations: 0 / 1.199 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001714/1.262, allocations: 87.69 kB / 1.199 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.262, allocations: 9.531 kB / 1.199 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.262, allocations: 5.359 kB / 1.199 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/1.262, allocations: 1.375 kB / 1.199 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/1.262, allocations: 12.25 kB / 1.199 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/1.263, allocations: 1.375 kB / 1.199 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/1.263, allocations: 17.16 kB / 1.199 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/1.263, allocations: 3.531 kB / 1.199 GB, free: 5.707 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.0001393/1.263, allocations: 211.7 kB / 1.199 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/1.263, allocations: 127.9 kB / 1.199 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/1.263, allocations: 121 kB / 1.2 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.148e-05/1.263, allocations: 181.8 kB / 1.2 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.509e-05/1.263, allocations: 176.3 kB / 1.2 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.451e-05/1.263, allocations: 193.8 kB / 1.2 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/1.263, allocations: 452.2 kB / 1.201 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.931e-05/1.263, allocations: 102.2 kB / 1.201 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/1.263, allocations: 114.1 kB / 1.201 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.987e-05/1.264, allocations: 177.5 kB / 1.201 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/1.264, allocations: 181.1 kB / 1.201 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.916e-05/1.264, allocations: 177.4 kB / 1.201 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.396e-05/1.264, allocations: 184.2 kB / 1.201 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/1.264, allocations: 318.5 kB / 1.202 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/1.264, allocations: 206.6 kB / 1.202 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-05/1.264, allocations: 182 kB / 1.202 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/1.264, allocations: 111.2 kB / 1.202 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/1.264, allocations: 180.3 kB / 1.202 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/1.264, allocations: 102.4 kB / 1.202 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000174/1.265, allocations: 187 kB / 1.203 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.265, allocations: 0 / 1.203 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002453/1.265, allocations: 19.72 kB / 1.203 GB, free: 2.008 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.00013/1.265, allocations: 177.4 kB / 1.203 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.624e-05/1.265, allocations: 20.55 kB / 1.203 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.265, allocations: 0 / 1.203 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/1.265, allocations: 5.188 kB / 1.203 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/1.266, allocations: 0.5068 MB / 1.203 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/1.266, allocations: 321.5 kB / 1.204 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/1.266, allocations: 0.7263 MB / 1.204 GB, free: 368 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.999e-05/1.267, allocations: 17.23 kB / 1.204 GB, free: 364 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/1.267, allocations: 15.94 kB / 1.204 GB, free: 356 kB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/1.267, allocations: 0 / 1.204 GB, free: 356 kB / 0.9044 GB Notification: Performance of Templates: time 0.004913/1.272, allocations: 1.95 MB / 1.206 GB, free: 15.38 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches