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.000891/0.0008911, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001225/0.001225, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.89/2.89, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 17.78 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3809, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1954/0.5763, allocations: 150.9 MB / 1.205 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005319/0.5816, allocations: 5.261 MB / 1.211 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.5819, allocations: 7.938 kB / 1.211 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.5823, allocations: 59.58 kB / 1.211 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.5825, allocations: 51.67 kB / 1.211 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.5827, allocations: 31.91 kB / 1.211 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.583, allocations: 219.2 kB / 1.211 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.5832, allocations: 74.92 kB / 1.211 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.5834, allocations: 79.64 kB / 1.211 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.5836, allocations: 47.73 kB / 1.211 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.5836, allocations: 0 / 1.211 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.5836, allocations: 8 kB / 1.211 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.5837, allocations: 27.84 kB / 1.211 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.5837, allocations: 49.64 kB / 1.211 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.5839, allocations: 119.7 kB / 1.211 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5839, allocations: 0 / 1.211 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.237e-06/0.5839, allocations: 0 / 1.211 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.5839, allocations: 0 / 1.211 GB, free: 8.02 MB / 0.9669 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.0005774/0.5845, allocations: 410.8 kB / 1.212 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5845, allocations: 8.031 kB / 1.212 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.5846, allocations: 23.81 kB / 1.212 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.5849, allocations: 234.7 kB / 1.212 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.5849, allocations: 12 kB / 1.212 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.5849, allocations: 12 kB / 1.212 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.5852, allocations: 173.1 kB / 1.212 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.5852, allocations: 0 / 1.212 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.5853, allocations: 8 kB / 1.212 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.5853, allocations: 0 / 1.212 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.5854, allocations: 79.77 kB / 1.212 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008833/0.5863, allocations: 1.141 MB / 1.213 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.349e-05/0.5864, allocations: 169.1 kB / 1.213 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.5864, allocations: 88.14 kB / 1.214 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.5865, allocations: 75.28 kB / 1.214 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.5865, allocations: 109.8 kB / 1.214 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.5865, allocations: 0 / 1.214 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.242e-05/0.5866, allocations: 45.5 kB / 1.214 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.5867, allocations: 182 kB / 1.214 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.587, allocations: 253 kB / 1.214 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.587, allocations: 29.7 kB / 1.214 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.5871, allocations: 131.8 kB / 1.214 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.5871, allocations: 0 / 1.214 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.5871, allocations: 4 kB / 1.214 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5872, allocations: 322.8 kB / 1.215 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.5873, allocations: 11.98 kB / 1.215 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.816e-05/0.5873, allocations: 71.66 kB / 1.215 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.094e-05/0.5874, allocations: 12 kB / 1.215 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5874, allocations: 4 kB / 1.215 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001609/0.5876, allocations: 93.36 kB / 1.215 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5876, allocations: 4 kB / 1.215 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.5876, allocations: 4 kB / 1.215 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.5876, allocations: 3.938 kB / 1.215 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.5877, allocations: 8 kB / 1.215 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.5877, allocations: 7.953 kB / 1.215 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.226e-05/0.5878, allocations: 11.84 kB / 1.215 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.5878, allocations: 0 / 1.215 GB, free: 4.02 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.5879, allocations: 217.1 kB / 1.215 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/0.588, allocations: 116.9 kB / 1.215 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.5881, allocations: 125.9 kB / 1.215 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.057e-05/0.5882, allocations: 188.2 kB / 1.215 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.796e-05/0.5882, allocations: 180.2 kB / 1.216 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-05/0.5883, allocations: 192.2 kB / 1.216 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.5886, allocations: 449.2 kB / 1.216 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.635e-05/0.5886, allocations: 105 kB / 1.216 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.5887, allocations: 104.9 kB / 1.216 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.053e-05/0.5887, allocations: 176.3 kB / 1.217 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.5888, allocations: 184.2 kB / 1.217 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.214e-05/0.5889, allocations: 180.3 kB / 1.217 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-05/0.5889, allocations: 184.4 kB / 1.217 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.5891, allocations: 323.6 kB / 1.217 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.5892, allocations: 205.8 kB / 1.218 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/0.5893, allocations: 176.3 kB / 1.218 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.5894, allocations: 112.9 kB / 1.218 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.5895, allocations: 176.3 kB / 1.218 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.5895, allocations: 105 kB / 1.218 GB, free: 384 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001685/0.5897, allocations: 184.5 kB / 1.218 GB, free: 200 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5897, allocations: 0 / 1.218 GB, free: 200 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002378/0.5899, allocations: 20 kB / 1.218 GB, free: 180 kB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001567/0.5901, allocations: 182.5 kB / 1.219 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.807e-05/0.5902, allocations: 19.98 kB / 1.219 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5902, allocations: 0 / 1.219 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.5902, allocations: 3.938 kB / 1.219 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.5908, allocations: 0.5739 MB / 1.219 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.5913, allocations: 355.4 kB / 1.219 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.5916, allocations: 0.7127 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.355e-05/0.5917, allocations: 17.55 kB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.5917, allocations: 15.44 kB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.5918, allocations: 0 / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.004505/0.5963, allocations: 1.793 MB / 1.222 GB, free: 12.46 MB / 0.9825 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 -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/jenkins/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