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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.01294/0.01295, allocations: 102.2 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.001868/0.001868, allocations: 194.4 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.472/1.472, 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 11.0.1-master/package.mo): time 2.849/2.849, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 68.11 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4682, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 1.203/1.671, allocations: 166.1 MB / 1.37 GB, free: 1.871 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006366/1.678, allocations: 5.703 MB / 1.375 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/1.678, allocations: 9.156 kB / 1.376 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000492/1.679, allocations: 89.97 kB / 1.376 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002431/1.679, allocations: 51.09 kB / 1.376 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/1.679, allocations: 41.36 kB / 1.376 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003383/1.68, allocations: 217.8 kB / 1.376 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/1.68, allocations: 94.05 kB / 1.376 GB, free: 13.49 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/1.68, allocations: 103.6 kB / 1.376 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/1.68, allocations: 66.52 kB / 1.376 GB, free: 13.41 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/1.68, allocations: 10.38 kB / 1.376 GB, free: 13.41 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.902e-05/1.68, allocations: 9.938 kB / 1.376 GB, free: 13.41 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/1.68, allocations: 30.66 kB / 1.376 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.27e-05/1.68, allocations: 69.92 kB / 1.376 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/1.681, allocations: 164.7 kB / 1.376 GB, free: 13.29 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.681, allocations: 1.5 kB / 1.376 GB, free: 13.29 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.034e-06/1.681, allocations: 0 / 1.376 GB, free: 13.29 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.681, allocations: 0 / 1.376 GB, free: 13.29 MB / 1.076 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.0007634/1.681, allocations: 444.3 kB / 1.377 GB, free: 12.86 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.682, allocations: 9.906 kB / 1.377 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/1.682, allocations: 20.97 kB / 1.377 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/1.682, allocations: 249.2 kB / 1.377 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.682, allocations: 12.73 kB / 1.377 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/1.682, allocations: 11.16 kB / 1.377 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/1.682, allocations: 169.4 kB / 1.377 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.682, allocations: 1.344 kB / 1.377 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/1.682, allocations: 10.14 kB / 1.377 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/1.682, allocations: 3.281 kB / 1.377 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/1.683, allocations: 69.98 kB / 1.377 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/1.684, allocations: 1.152 MB / 1.378 GB, free: 11.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/1.684, allocations: 170.4 kB / 1.379 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/1.684, allocations: 84.08 kB / 1.379 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/1.684, allocations: 76.38 kB / 1.379 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/1.684, allocations: 118.8 kB / 1.379 GB, free: 10.89 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/1.684, allocations: 0 / 1.379 GB, free: 10.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001069/1.684, allocations: 45.02 kB / 1.379 GB, free: 10.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.684, allocations: 183.4 kB / 1.379 GB, free: 10.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/1.684, allocations: 252.3 kB / 1.379 GB, free: 10.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/1.684, allocations: 26.8 kB / 1.379 GB, free: 10.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/1.684, allocations: 132.1 kB / 1.38 GB, free: 10.35 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-06/1.684, allocations: 0 / 1.38 GB, free: 10.35 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/1.685, allocations: 20.03 kB / 1.38 GB, free: 10.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.685, allocations: 327.6 kB / 1.38 GB, free: 10.01 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/1.685, allocations: 15.83 kB / 1.38 GB, free: 10 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/1.685, allocations: 68 kB / 1.38 GB, free: 9.922 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.525e-05/1.685, allocations: 54.11 kB / 1.38 GB, free: 9.867 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.685, allocations: 0 / 1.38 GB, free: 9.867 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001885/1.685, allocations: 88.25 kB / 1.38 GB, free: 9.809 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.685, allocations: 7.5 kB / 1.38 GB, free: 9.809 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.685, allocations: 2.812 kB / 1.38 GB, free: 9.809 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.685, allocations: 7.844 kB / 1.38 GB, free: 9.805 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/1.685, allocations: 11.47 kB / 1.38 GB, free: 9.801 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.685, allocations: 1.406 kB / 1.38 GB, free: 9.801 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/1.685, allocations: 13.12 kB / 1.38 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/1.685, allocations: 2.156 kB / 1.38 GB, free: 9.793 MB / 1.076 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.0001333/1.685, allocations: 205.5 kB / 1.38 GB, free: 9.598 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/1.686, allocations: 124.2 kB / 1.38 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.255e-05/1.686, allocations: 120.9 kB / 1.381 GB, free: 9.363 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.3e-05/1.686, allocations: 185.4 kB / 1.381 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.971e-05/1.686, allocations: 189.4 kB / 1.381 GB, free: 8.984 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.046e-05/1.686, allocations: 179.9 kB / 1.381 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/1.686, allocations: 450.7 kB / 1.382 GB, free: 8.344 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-05/1.686, allocations: 103.5 kB / 1.382 GB, free: 8.238 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/1.686, allocations: 108.9 kB / 1.382 GB, free: 8.125 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.048e-05/1.686, allocations: 183.2 kB / 1.382 GB, free: 7.941 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.216e-05/1.686, allocations: 177.5 kB / 1.382 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.007e-05/1.686, allocations: 183.9 kB / 1.382 GB, free: 7.578 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.05e-05/1.687, allocations: 181.6 kB / 1.382 GB, free: 7.395 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/1.687, allocations: 321.2 kB / 1.383 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/1.687, allocations: 199.3 kB / 1.383 GB, free: 6.855 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.868e-05/1.687, allocations: 182.4 kB / 1.383 GB, free: 6.672 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/1.687, allocations: 105.7 kB / 1.383 GB, free: 6.566 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/1.687, allocations: 185.5 kB / 1.383 GB, free: 6.379 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/1.687, allocations: 110.6 kB / 1.383 GB, free: 6.266 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001947/1.687, allocations: 180.2 kB / 1.384 GB, free: 6.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.687, allocations: 0 / 1.384 GB, free: 6.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002633/1.688, allocations: 24 kB / 1.384 GB, free: 6.156 MB / 1.076 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.0001499/1.688, allocations: 171.4 kB / 1.384 GB, free: 5.992 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001079/1.688, allocations: 27.2 kB / 1.384 GB, free: 5.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.688, allocations: 320 / 1.384 GB, free: 5.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.958e-06/1.688, allocations: 5.156 kB / 1.384 GB, free: 5.977 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/1.689, allocations: 0.5152 MB / 1.384 GB, free: 5.504 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/1.689, allocations: 332.5 kB / 1.385 GB, free: 5.238 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/1.689, allocations: 0.7121 MB / 1.385 GB, free: 4.543 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.695e-05/1.689, allocations: 24.08 kB / 1.385 GB, free: 4.539 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/1.689, allocations: 15.19 kB / 1.385 GB, free: 4.531 MB / 1.076 GB Notification: Performance of SimCode: time 2.61e-07/1.689, allocations: 0 / 1.385 GB, free: 4.531 MB / 1.076 GB Notification: Performance of Templates: time 0.00531/1.695, allocations: 2.001 MB / 1.387 GB, free: 3.547 MB / 1.076 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