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.001581/0.001581, allocations: 105.5 kB / 16.41 MB, free: 6.512 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.001885/0.001885, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.294/2.294, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 71.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.012, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2264/1.239, allocations: 166.1 MB / 1.251 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007341/1.246, allocations: 5.704 MB / 1.256 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/1.247, allocations: 8 kB / 1.256 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000542/1.247, allocations: 95.3 kB / 1.256 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003239/1.248, allocations: 63.61 kB / 1.257 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/1.248, allocations: 35.89 kB / 1.257 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004186/1.248, allocations: 211.2 kB / 1.257 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/1.248, allocations: 91.11 kB / 1.257 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/1.249, allocations: 99.62 kB / 1.257 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/1.249, allocations: 71.64 kB / 1.257 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/1.249, allocations: 12 kB / 1.257 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.509e-05/1.249, allocations: 12 kB / 1.257 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/1.249, allocations: 23.92 kB / 1.257 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.614e-05/1.249, allocations: 79.55 kB / 1.257 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/1.249, allocations: 161.3 kB / 1.257 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.25, allocations: 0 / 1.257 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/1.25, allocations: 0 / 1.257 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.256e-06/1.25, allocations: 0 / 1.257 GB, free: 0.957 MB / 0.9825 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.0007496/1.25, allocations: 438.9 kB / 1.258 GB, free: 492 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1.25, allocations: 12.03 kB / 1.258 GB, free: 480 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.991e-05/1.25, allocations: 15.81 kB / 1.258 GB, free: 464 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/1.251, allocations: 254.5 kB / 1.258 GB, free: 168 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/1.251, allocations: 8.234 kB / 1.258 GB, free: 160 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/1.251, allocations: 12 kB / 1.258 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/1.251, allocations: 176.6 kB / 1.258 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/1.251, allocations: 0 / 1.258 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/1.251, allocations: 8 kB / 1.258 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/1.251, allocations: 0 / 1.258 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/1.251, allocations: 75.78 kB / 1.258 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/1.252, allocations: 1.156 MB / 1.259 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/1.253, allocations: 177.1 kB / 1.26 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/1.253, allocations: 80.14 kB / 1.26 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/1.253, allocations: 79.22 kB / 1.26 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/1.253, allocations: 109.8 kB / 1.26 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/1.253, allocations: 0 / 1.26 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001204/1.253, allocations: 45.52 kB / 1.26 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.253, allocations: 178.1 kB / 1.26 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/1.253, allocations: 249 kB / 1.26 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/1.253, allocations: 25.7 kB / 1.26 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/1.253, allocations: 139.8 kB / 1.26 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-06/1.253, allocations: 0 / 1.26 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/1.254, allocations: 25.64 kB / 1.26 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.254, allocations: 326.8 kB / 1.261 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/1.254, allocations: 16 kB / 1.261 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.966e-05/1.254, allocations: 59.72 kB / 1.261 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.591e-05/1.254, allocations: 56.22 kB / 1.261 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.254, allocations: 0 / 1.261 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001869/1.254, allocations: 89.31 kB / 1.261 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.254, allocations: 4.156 kB / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.254, allocations: 8 kB / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.254, allocations: 0 / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/1.254, allocations: 11.98 kB / 1.261 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/1.254, allocations: 0 / 1.261 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.629e-05/1.254, allocations: 15.84 kB / 1.261 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/1.254, allocations: 0 / 1.261 GB, free: 12.83 MB / 0.9981 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.0001538/1.254, allocations: 213 kB / 1.261 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/1.255, allocations: 120.7 kB / 1.261 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/1.255, allocations: 129.8 kB / 1.261 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000131/1.255, allocations: 180.2 kB / 1.262 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.506e-05/1.255, allocations: 176.3 kB / 1.262 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001337/1.255, allocations: 188.2 kB / 1.262 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/1.255, allocations: 449.2 kB / 1.262 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001048/1.255, allocations: 108.9 kB / 1.262 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/1.256, allocations: 104.9 kB / 1.263 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000171/1.256, allocations: 180.3 kB / 1.263 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/1.256, allocations: 184.2 kB / 1.263 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.066e-05/1.256, allocations: 180.5 kB / 1.263 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-05/1.256, allocations: 180.3 kB / 1.263 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/1.256, allocations: 331.6 kB / 1.264 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/1.256, allocations: 201.7 kB / 1.264 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/1.256, allocations: 180.3 kB / 1.264 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/1.257, allocations: 109 kB / 1.264 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/1.257, allocations: 184.2 kB / 1.264 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/1.257, allocations: 101.1 kB / 1.264 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002033/1.257, allocations: 188.5 kB / 1.265 GB, free: 9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.257, allocations: 0 / 1.265 GB, free: 9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002497/1.257, allocations: 20 kB / 1.265 GB, free: 8.98 MB / 0.9981 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.0001644/1.257, allocations: 171.1 kB / 1.265 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001005/1.257, allocations: 27.92 kB / 1.265 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.257, allocations: 0 / 1.265 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-06/1.258, allocations: 3.938 kB / 1.265 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/1.258, allocations: 0.5081 MB / 1.265 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/1.259, allocations: 349.1 kB / 1.266 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/1.259, allocations: 0.7201 MB / 1.266 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/1.259, allocations: 15.44 kB / 1.266 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.259, allocations: 0 / 1.266 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of Templates: time 0.004538/1.264, allocations: 2.015 MB / 1.268 GB, free: 5.121 MB / 0.9981 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/jenkins1/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