Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009052/0.009052, allocations: 100 kB / 15.73 MB, free: 6.062 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.002101/0.002101, allocations: 197.4 kB / 16.68 MB, free: 5.973 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.533/1.533, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.878/2.878, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 72.09 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4407, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 1.246/1.687, allocations: 166.6 MB / 1.383 GB, free: 3.477 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008608/1.696, allocations: 5.705 MB / 1.389 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/1.696, allocations: 9.312 kB / 1.389 GB, free: 14.88 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005961/1.697, allocations: 99.58 kB / 1.389 GB, free: 14.8 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0003538/1.697, allocations: 51.89 kB / 1.389 GB, free: 14.75 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/1.697, allocations: 39.05 kB / 1.389 GB, free: 14.72 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0004959/1.698, allocations: 215.4 kB / 1.389 GB, free: 14.6 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/1.698, allocations: 67.64 kB / 1.389 GB, free: 14.55 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/1.698, allocations: 100.2 kB / 1.389 GB, free: 14.5 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/1.699, allocations: 77.67 kB / 1.389 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/1.699, allocations: 9.875 kB / 1.389 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 4.565e-05/1.699, allocations: 9.25 kB / 1.389 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 7.421e-05/1.699, allocations: 26.48 kB / 1.389 GB, free: 14.43 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/1.699, allocations: 72.39 kB / 1.39 GB, free: 14.38 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/1.699, allocations: 165 kB / 1.39 GB, free: 14.27 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.699, allocations: 5.469 kB / 1.39 GB, free: 14.27 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.285e-06/1.699, allocations: 0 / 1.39 GB, free: 14.27 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.699, allocations: 0 / 1.39 GB, free: 14.27 MB / 1.092 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.0009251/1.7, allocations: 444.5 kB / 1.39 GB, free: 13.83 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/1.7, allocations: 8.656 kB / 1.39 GB, free: 13.83 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/1.7, allocations: 17.47 kB / 1.39 GB, free: 13.82 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/1.701, allocations: 266.7 kB / 1.39 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/1.701, allocations: 9.562 kB / 1.39 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/1.701, allocations: 15.41 kB / 1.39 GB, free: 13.54 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/1.701, allocations: 167.4 kB / 1.391 GB, free: 13.39 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/1.701, allocations: 3.938 kB / 1.391 GB, free: 13.39 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/1.701, allocations: 6.25 kB / 1.391 GB, free: 13.38 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/1.701, allocations: 7.453 kB / 1.391 GB, free: 13.38 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/1.701, allocations: 66.59 kB / 1.391 GB, free: 13.35 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/1.703, allocations: 1.146 MB / 1.392 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/1.703, allocations: 174.3 kB / 1.392 GB, free: 12.02 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/1.703, allocations: 81.39 kB / 1.392 GB, free: 11.94 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/1.703, allocations: 75.28 kB / 1.392 GB, free: 11.86 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.432e-05/1.703, allocations: 115 kB / 1.392 GB, free: 11.74 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/1.703, allocations: 0 / 1.392 GB, free: 11.74 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0001378/1.703, allocations: 55.16 kB / 1.392 GB, free: 11.69 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/1.703, allocations: 182.1 kB / 1.392 GB, free: 11.49 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/1.704, allocations: 254.1 kB / 1.393 GB, free: 11.31 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/1.704, allocations: 26.83 kB / 1.393 GB, free: 11.28 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/1.704, allocations: 130.1 kB / 1.393 GB, free: 11.16 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/1.704, allocations: 0 / 1.393 GB, free: 11.16 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/1.704, allocations: 24.61 kB / 1.393 GB, free: 11.14 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001986/1.704, allocations: 330.5 kB / 1.393 GB, free: 10.81 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/1.704, allocations: 5.188 kB / 1.393 GB, free: 10.81 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.684e-05/1.704, allocations: 70.06 kB / 1.393 GB, free: 10.72 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/1.704, allocations: 51.56 kB / 1.393 GB, free: 10.67 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.704, allocations: 1.156 kB / 1.393 GB, free: 10.67 MB / 1.092 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003749/1.705, allocations: 87.31 kB / 1.393 GB, free: 10.61 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/1.705, allocations: 5.531 kB / 1.393 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.705, allocations: 1 kB / 1.393 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/1.705, allocations: 2.125 kB / 1.393 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/1.705, allocations: 7.812 kB / 1.393 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/1.705, allocations: 9.328 kB / 1.393 GB, free: 10.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/1.705, allocations: 21.17 kB / 1.393 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/1.705, allocations: 3.594 kB / 1.393 GB, free: 10.58 MB / 1.092 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.0002281/1.705, allocations: 211.3 kB / 1.394 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.705, allocations: 121.6 kB / 1.394 GB, free: 10.26 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/1.706, allocations: 124.7 kB / 1.394 GB, free: 10.13 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001179/1.706, allocations: 181.4 kB / 1.394 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001286/1.706, allocations: 184.3 kB / 1.394 GB, free: 9.762 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/1.706, allocations: 181.2 kB / 1.394 GB, free: 9.578 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/1.706, allocations: 453.8 kB / 1.395 GB, free: 9.098 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.679e-05/1.706, allocations: 105.5 kB / 1.395 GB, free: 8.988 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/1.707, allocations: 106 kB / 1.395 GB, free: 8.879 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/1.707, allocations: 189.4 kB / 1.395 GB, free: 8.688 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/1.707, allocations: 177.4 kB / 1.395 GB, free: 8.508 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001125/1.707, allocations: 182.6 kB / 1.396 GB, free: 8.324 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001097/1.707, allocations: 181.3 kB / 1.396 GB, free: 8.141 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/1.707, allocations: 322 kB / 1.396 GB, free: 7.812 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/1.708, allocations: 206.5 kB / 1.396 GB, free: 7.59 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/1.708, allocations: 178.6 kB / 1.396 GB, free: 7.41 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/1.708, allocations: 105.7 kB / 1.397 GB, free: 7.301 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.708, allocations: 182.1 kB / 1.397 GB, free: 7.117 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.305e-05/1.708, allocations: 104.9 kB / 1.397 GB, free: 7.008 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003243/1.708, allocations: 186.9 kB / 1.397 GB, free: 6.879 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.708, allocations: 0 / 1.397 GB, free: 6.879 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004228/1.709, allocations: 20.5 kB / 1.397 GB, free: 6.879 MB / 1.092 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.0002756/1.709, allocations: 178.3 kB / 1.397 GB, free: 6.707 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001631/1.709, allocations: 23.91 kB / 1.397 GB, free: 6.695 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.709, allocations: 0 / 1.397 GB, free: 6.695 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/1.709, allocations: 0 / 1.397 GB, free: 6.695 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/1.71, allocations: 0.5152 MB / 1.398 GB, free: 6.211 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008479/1.711, allocations: 328.6 kB / 1.398 GB, free: 5.938 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/1.712, allocations: 0.7143 MB / 1.399 GB, free: 5.223 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001107/1.712, allocations: 26.28 kB / 1.399 GB, free: 5.211 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/1.712, allocations: 14.91 kB / 1.399 GB, free: 5.203 MB / 1.092 GB Notification: Performance of SimCode: time 4.41e-07/1.712, allocations: 0 / 1.399 GB, free: 5.203 MB / 1.092 GB Notification: Performance of Templates: time 0.006849/1.719, allocations: 1.965 MB / 1.401 GB, free: 4.246 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches