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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001414/0.001414, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001876/0.001876, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 472.7 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 59.91 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4356, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1992/0.6349, allocations: 163.9 MB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.6454, allocations: 5.697 MB / 1.233 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004571/0.6459, allocations: 11.88 kB / 1.233 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000619/0.6465, allocations: 71.56 kB / 1.233 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.6469, allocations: 63.61 kB / 1.233 GB, free: 500 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.6471, allocations: 31.92 kB / 1.233 GB, free: 468 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.6476, allocations: 255.1 kB / 1.234 GB, free: 212 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.6479, allocations: 91.16 kB / 1.234 GB, free: 120 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.6482, allocations: 87.64 kB / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.6485, allocations: 71.64 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.6485, allocations: 12 kB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.661e-05/0.6486, allocations: 8 kB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.778e-05/0.6486, allocations: 31.84 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.6488, allocations: 63.62 kB / 1.234 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.649, allocations: 155.5 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.649, allocations: 0 / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.867e-06/0.6491, allocations: 0 / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.6491, allocations: 3.938 kB / 1.234 GB, free: 15.69 MB / 0.9981 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.0009365/0.65, allocations: 438.7 kB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.6501, allocations: 12.03 kB / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.6502, allocations: 15.81 kB / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.6506, allocations: 244.9 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.6506, allocations: 11.98 kB / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.6507, allocations: 16 kB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.651, allocations: 172.4 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.6511, allocations: 0 / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.6511, allocations: 4 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.6511, allocations: 4 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.6513, allocations: 67.84 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.6527, allocations: 1.152 MB / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.653, allocations: 177.1 kB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.653, allocations: 80.14 kB / 1.236 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.215e-05/0.6531, allocations: 79.22 kB / 1.236 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.666e-05/0.6532, allocations: 109.8 kB / 1.237 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 2.024e-06/0.6533, allocations: 0 / 1.237 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001534/0.6534, allocations: 45.45 kB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.6536, allocations: 182.1 kB / 1.237 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.654, allocations: 256.9 kB / 1.237 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.654, allocations: 25.7 kB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.6542, allocations: 127.9 kB / 1.237 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.6542, allocations: 4 kB / 1.237 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.6543, allocations: 17.72 kB / 1.237 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.6544, allocations: 326.8 kB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.598e-05/0.6545, allocations: 7.984 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.6546, allocations: 71.72 kB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.613e-05/0.6547, allocations: 56.11 kB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6547, allocations: 0 / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002685/0.655, allocations: 85.38 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.655, allocations: 7.984 kB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.6551, allocations: 3.938 kB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.6551, allocations: 4 kB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.6552, allocations: 15.94 kB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.6552, allocations: 4.141 kB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.6554, allocations: 15.84 kB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.6554, allocations: 4 kB / 1.238 GB, free: 11.57 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.0002034/0.6556, allocations: 210.6 kB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.6558, allocations: 120.7 kB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.6559, allocations: 125.8 kB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.26e-05/0.656, allocations: 176.3 kB / 1.238 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001288/0.6561, allocations: 184.2 kB / 1.239 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.534e-05/0.6562, allocations: 184.2 kB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.6566, allocations: 445.2 kB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.006e-05/0.6567, allocations: 108.9 kB / 1.239 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.6567, allocations: 113 kB / 1.239 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.969e-05/0.6568, allocations: 184.2 kB / 1.24 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.242e-05/0.6569, allocations: 176.3 kB / 1.24 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.908e-05/0.657, allocations: 176.4 kB / 1.24 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001414/0.6572, allocations: 192.2 kB / 1.24 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.6574, allocations: 323.6 kB / 1.24 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.6575, allocations: 201.8 kB / 1.241 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.6577, allocations: 184.2 kB / 1.241 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.6578, allocations: 101 kB / 1.241 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.6579, allocations: 180.3 kB / 1.241 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.658, allocations: 105.2 kB / 1.241 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002591/0.6583, allocations: 188.5 kB / 1.241 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6583, allocations: 0 / 1.241 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004199/0.6587, allocations: 20 kB / 1.241 GB, free: 7.727 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.0001736/0.6589, allocations: 174.5 kB / 1.241 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.659, allocations: 19.92 kB / 1.242 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.659, allocations: 0 / 1.242 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.659, allocations: 0 / 1.242 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009269/0.66, allocations: 0.5835 MB / 1.242 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.6608, allocations: 357.3 kB / 1.242 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.6613, allocations: 0.7243 MB / 1.243 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.6614, allocations: 21.55 kB / 1.243 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.6615, allocations: 15.44 kB / 1.243 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/0.6615, allocations: 0 / 1.243 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.008519/0.67, allocations: 1.849 MB / 1.245 GB, free: 3.941 MB / 0.9981 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