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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001392/0.001392, allocations: 86.33 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.001953/0.001953, 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.619/1.619, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.621/2.621, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.0004443, allocations: 8 kB / 0.8153 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9425/0.9429, allocations: 142.4 MB / 0.9544 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1992/1.142, allocations: 150.9 MB / 1.102 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00556/1.148, allocations: 5.255 MB / 1.107 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/1.148, allocations: 11.88 kB / 1.107 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000479/1.149, allocations: 67.5 kB / 1.107 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002447/1.149, allocations: 47.66 kB / 1.107 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/1.149, allocations: 27.98 kB / 1.107 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003075/1.149, allocations: 219.1 kB / 1.107 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/1.15, allocations: 71.19 kB / 1.107 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/1.15, allocations: 79.7 kB / 1.107 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/1.15, allocations: 63.64 kB / 1.107 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/1.15, allocations: 0 / 1.107 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.874e-05/1.15, allocations: 8 kB / 1.107 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/1.15, allocations: 15.92 kB / 1.107 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/1.15, allocations: 53.64 kB / 1.108 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/1.15, allocations: 111.7 kB / 1.108 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.15, allocations: 0 / 1.108 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/1.15, allocations: 3.938 kB / 1.108 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.037e-06/1.15, allocations: 0 / 1.108 GB, free: 2.152 MB / 0.8575 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.0006316/1.151, allocations: 415 kB / 1.108 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.151, allocations: 8.031 kB / 1.108 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/1.151, allocations: 19.81 kB / 1.108 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/1.151, allocations: 239.8 kB / 1.108 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/1.151, allocations: 8.234 kB / 1.108 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/1.151, allocations: 16 kB / 1.108 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/1.152, allocations: 178 kB / 1.108 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.152, allocations: 3.938 kB / 1.109 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/1.152, allocations: 4 kB / 1.109 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/1.152, allocations: 4 kB / 1.109 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/1.152, allocations: 63.91 kB / 1.109 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/1.153, allocations: 1.156 MB / 1.11 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/1.153, allocations: 169.1 kB / 1.11 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/1.153, allocations: 88.08 kB / 1.11 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/1.153, allocations: 79.28 kB / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.772e-05/1.153, allocations: 105.8 kB / 1.11 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/1.153, allocations: 0 / 1.11 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.71e-05/1.153, allocations: 45.45 kB / 1.11 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.6e-05/1.154, allocations: 182.1 kB / 1.11 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/1.154, allocations: 249 kB / 1.111 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/1.154, allocations: 29.7 kB / 1.111 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/1.154, allocations: 135.9 kB / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/1.154, allocations: 0 / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.154, allocations: 0 / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.154, allocations: 326.8 kB / 1.111 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/1.154, allocations: 4 kB / 1.111 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/1.154, allocations: 71.72 kB / 1.111 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.786e-05/1.154, allocations: 19.92 kB / 1.111 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.154, allocations: 3.953 kB / 1.111 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001753/1.154, allocations: 85.44 kB / 1.111 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.154, allocations: 5.25 kB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.154, allocations: 4 kB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.155, allocations: 0 / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/1.155, allocations: 15.92 kB / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.155, allocations: 0 / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/1.155, allocations: 19.75 kB / 1.111 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/1.155, allocations: 48 / 1.111 GB, free: 14.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001873/1.155, allocations: 213.3 kB / 1.111 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.721e-05/1.155, allocations: 128.7 kB / 1.112 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.646e-05/1.155, allocations: 121.8 kB / 1.112 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.982e-05/1.155, allocations: 176.3 kB / 1.112 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.931e-05/1.155, allocations: 180.2 kB / 1.112 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.242e-05/1.155, allocations: 180.3 kB / 1.112 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/1.156, allocations: 453.1 kB / 1.113 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.739e-05/1.156, allocations: 105 kB / 1.113 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/1.156, allocations: 109 kB / 1.113 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.488e-05/1.156, allocations: 188.2 kB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.411e-05/1.156, allocations: 176.3 kB / 1.113 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-05/1.156, allocations: 188.2 kB / 1.113 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-05/1.156, allocations: 180.2 kB / 1.114 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/1.156, allocations: 323.6 kB / 1.114 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/1.156, allocations: 189.9 kB / 1.114 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.156, allocations: 196.1 kB / 1.114 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/1.157, allocations: 113.1 kB / 1.114 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/1.157, allocations: 180.2 kB / 1.115 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/1.157, allocations: 101.3 kB / 1.115 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001802/1.157, allocations: 184.5 kB / 1.115 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.157, allocations: 0 / 1.115 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002592/1.157, allocations: 20 kB / 1.115 GB, free: 10.3 MB / 0.8731 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.0001597/1.157, allocations: 178.3 kB / 1.115 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001008/1.157, allocations: 19.94 kB / 1.115 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.157, allocations: 0 / 1.115 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-06/1.157, allocations: 3.984 kB / 1.115 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/1.158, allocations: 0.57 MB / 1.116 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/1.159, allocations: 351.5 kB / 1.116 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/1.159, allocations: 0.7244 MB / 1.117 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.639e-05/1.159, allocations: 17.55 kB / 1.117 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/1.159, allocations: 15.44 kB / 1.117 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.159, allocations: 0 / 1.117 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of Templates: time 0.005087/1.164, allocations: 1.783 MB / 1.118 GB, free: 6.605 MB / 0.8731 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