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.01075/0.01075, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001562/0.001562, allocations: 195.9 kB / 16.67 MB, free: 5.969 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.516/2.516, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.64 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3676, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2137/0.5814, allocations: 166.1 MB / 1.25 GB, free: 10.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008272/0.5897, allocations: 5.696 MB / 1.256 GB, free: 5.031 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003345/0.5901, allocations: 7.938 kB / 1.256 GB, free: 5.023 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.5907, allocations: 91.36 kB / 1.256 GB, free: 4.934 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.5911, allocations: 63.55 kB / 1.256 GB, free: 4.871 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.5913, allocations: 35.95 kB / 1.256 GB, free: 4.836 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004072/0.5917, allocations: 215.1 kB / 1.256 GB, free: 4.625 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.592, allocations: 98.59 kB / 1.256 GB, free: 4.527 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.5923, allocations: 103.6 kB / 1.256 GB, free: 4.426 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.5925, allocations: 75.56 kB / 1.256 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.5926, allocations: 12 kB / 1.256 GB, free: 4.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.472e-05/0.5926, allocations: 8 kB / 1.256 GB, free: 4.332 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.5927, allocations: 27.92 kB / 1.256 GB, free: 4.305 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.5928, allocations: 71.61 kB / 1.256 GB, free: 4.234 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.5931, allocations: 159.4 kB / 1.257 GB, free: 4.078 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.399e-05/0.5931, allocations: 4 kB / 1.257 GB, free: 4.074 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5932, allocations: 3.938 kB / 1.257 GB, free: 4.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.5932, allocations: 0 / 1.257 GB, free: 4.07 MB / 1.014 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.0007548/0.5939, allocations: 438.9 kB / 1.257 GB, free: 3.594 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.594, allocations: 8.031 kB / 1.257 GB, free: 3.586 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.5941, allocations: 19.81 kB / 1.257 GB, free: 3.566 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.5945, allocations: 251.7 kB / 1.257 GB, free: 3.281 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.5945, allocations: 8.234 kB / 1.257 GB, free: 3.273 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.5946, allocations: 15.94 kB / 1.257 GB, free: 3.258 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.5949, allocations: 168.7 kB / 1.257 GB, free: 3.062 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5949, allocations: 3.938 kB / 1.257 GB, free: 3.059 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.595, allocations: 8 kB / 1.257 GB, free: 3.051 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.595, allocations: 4 kB / 1.258 GB, free: 3.047 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.5952, allocations: 59.91 kB / 1.258 GB, free: 2.988 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.5963, allocations: 1.16 MB / 1.259 GB, free: 1.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.475e-05/0.5964, allocations: 177 kB / 1.259 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.5965, allocations: 80.14 kB / 1.259 GB, free: 1.484 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.5965, allocations: 83.22 kB / 1.259 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/0.5966, allocations: 109.8 kB / 1.259 GB, free: 1.285 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.5966, allocations: 0 / 1.259 GB, free: 1.285 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001081/0.5967, allocations: 45.45 kB / 1.259 GB, free: 1.234 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.5968, allocations: 182.1 kB / 1.259 GB, free: 1.031 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.5972, allocations: 249 kB / 1.26 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.5972, allocations: 29.7 kB / 1.26 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.5973, allocations: 131.8 kB / 1.26 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.5973, allocations: 0 / 1.26 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.5974, allocations: 21.72 kB / 1.26 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5976, allocations: 326.8 kB / 1.26 GB, free: 264 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.5976, allocations: 11.98 kB / 1.26 GB, free: 252 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.228e-05/0.5977, allocations: 67.72 kB / 1.26 GB, free: 156 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.648e-05/0.5978, allocations: 52.23 kB / 1.26 GB, free: 88 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5978, allocations: 0 / 1.26 GB, free: 88 kB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.8746/1.472, allocations: 85.84 kB / 1.26 GB, free: 177.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/1.473, allocations: 5.781 kB / 1.26 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.473, allocations: 1.328 kB / 1.26 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.622e-05/1.473, allocations: 3 kB / 1.26 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/1.473, allocations: 8.656 kB / 1.26 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/1.473, allocations: 6.391 kB / 1.26 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/1.473, allocations: 14.67 kB / 1.26 GB, free: 177.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/1.473, allocations: 1.875 kB / 1.26 GB, free: 177.9 MB / 1.014 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.0001681/1.473, allocations: 205.5 kB / 1.261 GB, free: 177.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/1.473, allocations: 123.8 kB / 1.261 GB, free: 177.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.328e-05/1.473, allocations: 127.3 kB / 1.261 GB, free: 177.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-05/1.473, allocations: 184 kB / 1.261 GB, free: 177.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.639e-05/1.473, allocations: 182.7 kB / 1.261 GB, free: 177.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.615e-05/1.473, allocations: 178.4 kB / 1.261 GB, free: 177 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/1.474, allocations: 460.3 kB / 1.262 GB, free: 176.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/1.474, allocations: 105.6 kB / 1.262 GB, free: 176.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/1.474, allocations: 103.4 kB / 1.262 GB, free: 176.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.61e-05/1.474, allocations: 184 kB / 1.262 GB, free: 176.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/1.474, allocations: 177.9 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.648e-05/1.474, allocations: 189.7 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.253e-05/1.474, allocations: 178.2 kB / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/1.474, allocations: 324.5 kB / 1.263 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/1.474, allocations: 196.2 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/1.474, allocations: 179.5 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/1.474, allocations: 109.9 kB / 1.263 GB, free: 174.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/1.474, allocations: 187 kB / 1.264 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/1.474, allocations: 102.4 kB / 1.264 GB, free: 174.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002546/1.475, allocations: 181.3 kB / 1.264 GB, free: 174.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.475, allocations: 0.75 kB / 1.264 GB, free: 174.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003103/1.475, allocations: 20.28 kB / 1.264 GB, free: 174.5 MB / 1.014 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.0001541/1.475, allocations: 174.6 kB / 1.264 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001438/1.475, allocations: 25.36 kB / 1.264 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.475, allocations: 0.8438 kB / 1.264 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/1.475, allocations: 0.5156 kB / 1.264 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/1.476, allocations: 0.5124 MB / 1.265 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/1.477, allocations: 313.5 kB / 1.265 GB, free: 173.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/1.477, allocations: 0.719 MB / 1.266 GB, free: 172.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001012/1.477, allocations: 26.38 kB / 1.266 GB, free: 172.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/1.477, allocations: 14.98 kB / 1.266 GB, free: 172.9 MB / 1.014 GB Notification: Performance of SimCode: time 2.01e-07/1.477, allocations: 0.8125 kB / 1.266 GB, free: 172.9 MB / 1.014 GB Notification: Performance of Templates: time 0.008034/1.485, allocations: 1.992 MB / 1.268 GB, free: 172.8 MB / 1.014 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