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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001181/0.001181, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009598/0.009598, allocations: 172.3 kB / 16.26 MB, free: 6.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.677/1.677, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003894, allocations: 12 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.879/0.8794, allocations: 142.4 MB / 0.955 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2329/1.112, allocations: 161.8 MB / 1.113 GB, free: 13 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005759/1.118, allocations: 5.617 MB / 1.118 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/1.118, allocations: 7.938 kB / 1.119 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004388/1.119, allocations: 71.58 kB / 1.119 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002489/1.119, allocations: 47.67 kB / 1.119 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/1.119, allocations: 39.89 kB / 1.119 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003489/1.12, allocations: 255.1 kB / 1.119 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/1.12, allocations: 79.44 kB / 1.119 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/1.12, allocations: 83.58 kB / 1.119 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/1.12, allocations: 55.66 kB / 1.119 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/1.12, allocations: 7.938 kB / 1.119 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 1.927e-05/1.12, allocations: 4 kB / 1.119 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/1.12, allocations: 19.86 kB / 1.119 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/1.121, allocations: 85.38 kB / 1.119 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/1.121, allocations: 155.4 kB / 1.119 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.121, allocations: 0 / 1.119 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.663e-06/1.121, allocations: 0 / 1.119 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.491e-06/1.121, allocations: 0 / 1.119 GB, free: 6.465 MB / 0.8731 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.0006778/1.121, allocations: 411 kB / 1.12 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/1.122, allocations: 12.03 kB / 1.12 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/1.122, allocations: 15.81 kB / 1.12 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/1.122, allocations: 247.9 kB / 1.12 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/1.122, allocations: 8.234 kB / 1.12 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/1.122, allocations: 16 kB / 1.12 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/1.122, allocations: 166.1 kB / 1.12 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.122, allocations: 4 kB / 1.12 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/1.122, allocations: 4 kB / 1.12 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/1.122, allocations: 8 kB / 1.12 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/1.122, allocations: 71.83 kB / 1.12 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000952/1.123, allocations: 1.156 MB / 1.121 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.55e-05/1.123, allocations: 169.1 kB / 1.122 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/1.124, allocations: 80.14 kB / 1.122 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/1.124, allocations: 91.22 kB / 1.122 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/1.124, allocations: 105.8 kB / 1.122 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.124, allocations: 0 / 1.122 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.641e-05/1.124, allocations: 45.45 kB / 1.122 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.124, allocations: 178.1 kB / 1.122 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/1.124, allocations: 253 kB / 1.122 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/1.124, allocations: 29.64 kB / 1.122 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/1.124, allocations: 135.9 kB / 1.122 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/1.124, allocations: 0 / 1.122 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/1.124, allocations: 17.72 kB / 1.122 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.124, allocations: 322.8 kB / 1.123 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/1.124, allocations: 11.98 kB / 1.123 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/1.125, allocations: 71.66 kB / 1.123 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.408e-05/1.125, allocations: 48.23 kB / 1.123 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.125, allocations: 0 / 1.123 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001616/1.125, allocations: 89.36 kB / 1.123 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.125, allocations: 8 kB / 1.123 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.125, allocations: 0 / 1.123 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.125, allocations: 0 / 1.123 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/1.125, allocations: 16 kB / 1.123 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.125, allocations: 4 kB / 1.123 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.802e-05/1.125, allocations: 19.75 kB / 1.123 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/1.125, allocations: 4 kB / 1.123 GB, free: 2.371 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.0001404/1.125, allocations: 209.3 kB / 1.123 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/1.125, allocations: 124.7 kB / 1.123 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/1.125, allocations: 121.8 kB / 1.123 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.825e-05/1.125, allocations: 176.3 kB / 1.124 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.663e-05/1.126, allocations: 184.2 kB / 1.124 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-05/1.126, allocations: 180.2 kB / 1.124 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/1.126, allocations: 453.1 kB / 1.124 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-05/1.126, allocations: 105 kB / 1.125 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/1.126, allocations: 109 kB / 1.125 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-05/1.126, allocations: 184.2 kB / 1.125 GB, free: 452 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/1.126, allocations: 180.3 kB / 1.125 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.332e-05/1.126, allocations: 184.2 kB / 1.125 GB, free: 72 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-05/1.126, allocations: 180.3 kB / 1.125 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/1.126, allocations: 323.6 kB / 1.126 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.484e-05/1.127, allocations: 193.8 kB / 1.126 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.127, allocations: 188.2 kB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/1.127, allocations: 109 kB / 1.126 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/1.127, allocations: 176.3 kB / 1.126 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/1.127, allocations: 104.9 kB / 1.126 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001848/1.127, allocations: 192.4 kB / 1.127 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.127, allocations: 0 / 1.127 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002497/1.127, allocations: 20 kB / 1.127 GB, free: 14.53 MB / 0.8887 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.0001462/1.128, allocations: 174.5 kB / 1.127 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001027/1.128, allocations: 23.92 kB / 1.127 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.128, allocations: 0 / 1.127 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/1.128, allocations: 0 / 1.127 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006787/1.128, allocations: 0.5791 MB / 1.127 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/1.129, allocations: 361.4 kB / 1.128 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/1.129, allocations: 0.7205 MB / 1.128 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 7.71e-05/1.129, allocations: 25.56 kB / 1.128 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/1.129, allocations: 15.44 kB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of SimCode: time 2.5e-07/1.129, allocations: 0 / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of Templates: time 0.004615/1.134, allocations: 1.83 MB / 1.13 GB, free: 10.77 MB / 0.8887 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 -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/jenkins/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