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.009388/0.009388, allocations: 101.7 kB / 15.73 MB, free: 6.047 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.001992/0.001992, allocations: 191.5 kB / 16.67 MB, free: 5.98 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.832/2.832, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.12 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3758, 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.145/1.521, allocations: 166.1 MB / 1.37 GB, free: 1.867 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007203/1.528, allocations: 5.705 MB / 1.375 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003429/1.528, allocations: 5.25 kB / 1.375 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004992/1.529, allocations: 91.64 kB / 1.376 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002567/1.529, allocations: 56.78 kB / 1.376 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/1.529, allocations: 45.28 kB / 1.376 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003455/1.53, allocations: 219.2 kB / 1.376 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/1.53, allocations: 93.36 kB / 1.376 GB, free: 13.48 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/1.53, allocations: 97.14 kB / 1.376 GB, free: 13.44 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/1.53, allocations: 68.7 kB / 1.376 GB, free: 13.41 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/1.53, allocations: 14.59 kB / 1.376 GB, free: 13.4 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.638e-05/1.53, allocations: 8.969 kB / 1.376 GB, free: 13.4 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/1.53, allocations: 31.67 kB / 1.376 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/1.531, allocations: 70.19 kB / 1.376 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/1.531, allocations: 156.5 kB / 1.376 GB, free: 13.28 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.531, allocations: 1.344 kB / 1.376 GB, free: 13.28 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.543e-06/1.531, allocations: 0 / 1.376 GB, free: 13.28 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.531, allocations: 0 / 1.376 GB, free: 13.28 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.0007333/1.532, allocations: 448.1 kB / 1.377 GB, free: 12.86 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.532, allocations: 14 kB / 1.377 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/1.532, allocations: 16.88 kB / 1.377 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/1.532, allocations: 250.4 kB / 1.377 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/1.532, allocations: 9.781 kB / 1.377 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/1.532, allocations: 11.38 kB / 1.377 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/1.532, allocations: 168.1 kB / 1.377 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.532, allocations: 1.25 kB / 1.377 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/1.532, allocations: 5.344 kB / 1.377 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/1.532, allocations: 3.281 kB / 1.377 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/1.533, allocations: 67.86 kB / 1.377 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009762/1.534, allocations: 1.154 MB / 1.378 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.023e-05/1.534, allocations: 168.3 kB / 1.379 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/1.534, allocations: 84.08 kB / 1.379 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/1.534, allocations: 76.53 kB / 1.379 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.907e-05/1.534, allocations: 118.8 kB / 1.379 GB, free: 10.89 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 7.334e-06/1.534, allocations: 3.984 kB / 1.379 GB, free: 10.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 9.634e-05/1.534, allocations: 41.55 kB / 1.379 GB, free: 10.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/1.534, allocations: 181.8 kB / 1.379 GB, free: 10.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/1.534, allocations: 252 kB / 1.379 GB, free: 10.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/1.534, allocations: 25.7 kB / 1.379 GB, free: 10.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/1.534, allocations: 132.2 kB / 1.38 GB, free: 10.35 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/1.535, allocations: 5.047 kB / 1.38 GB, free: 10.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/1.535, allocations: 24.03 kB / 1.38 GB, free: 10.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.535, allocations: 329.9 kB / 1.38 GB, free: 10 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/1.535, allocations: 14.47 kB / 1.38 GB, free: 9.992 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/1.535, allocations: 65.14 kB / 1.38 GB, free: 9.914 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.327e-05/1.535, allocations: 53.69 kB / 1.38 GB, free: 9.859 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.535, allocations: 5.156 kB / 1.38 GB, free: 9.855 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002128/1.535, allocations: 91.16 kB / 1.38 GB, free: 9.797 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.535, allocations: 8.969 kB / 1.38 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.535, allocations: 1.062 kB / 1.38 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.535, allocations: 2.625 kB / 1.38 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/1.535, allocations: 9.156 kB / 1.38 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.535, allocations: 2.312 kB / 1.38 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/1.535, allocations: 12.5 kB / 1.38 GB, free: 9.785 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/1.535, allocations: 3.969 kB / 1.38 GB, free: 9.785 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.0001495/1.536, allocations: 203.8 kB / 1.38 GB, free: 9.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/1.536, allocations: 129.5 kB / 1.38 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/1.536, allocations: 118.8 kB / 1.381 GB, free: 9.352 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-05/1.536, allocations: 187.6 kB / 1.381 GB, free: 9.164 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.964e-05/1.536, allocations: 184.3 kB / 1.381 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-05/1.536, allocations: 177.3 kB / 1.381 GB, free: 8.797 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/1.536, allocations: 453.5 kB / 1.382 GB, free: 8.336 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.236e-05/1.536, allocations: 107.2 kB / 1.382 GB, free: 8.227 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/1.536, allocations: 110 kB / 1.382 GB, free: 8.113 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.215e-05/1.536, allocations: 177.5 kB / 1.382 GB, free: 7.934 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/1.536, allocations: 179.8 kB / 1.382 GB, free: 7.754 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-05/1.537, allocations: 181.4 kB / 1.382 GB, free: 7.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.256e-05/1.537, allocations: 184.3 kB / 1.382 GB, free: 7.383 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/1.537, allocations: 316.8 kB / 1.383 GB, free: 7.062 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/1.537, allocations: 205.4 kB / 1.383 GB, free: 6.844 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.537, allocations: 179.6 kB / 1.383 GB, free: 6.664 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/1.537, allocations: 103.1 kB / 1.383 GB, free: 6.559 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/1.537, allocations: 187.5 kB / 1.383 GB, free: 6.371 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/1.537, allocations: 106.1 kB / 1.383 GB, free: 6.262 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002213/1.538, allocations: 180.8 kB / 1.384 GB, free: 6.156 MB / 1.076 GB Notification: Performance of sort global known variables: time 2e-07/1.538, allocations: 0 / 1.384 GB, free: 6.156 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002745/1.538, allocations: 23.81 kB / 1.384 GB, free: 6.152 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.0001519/1.538, allocations: 170.8 kB / 1.384 GB, free: 5.988 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001123/1.538, allocations: 31.83 kB / 1.384 GB, free: 5.973 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.538, allocations: 3.938 kB / 1.384 GB, free: 5.969 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/1.538, allocations: 1.125 kB / 1.384 GB, free: 5.969 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006163/1.539, allocations: 0.5076 MB / 1.384 GB, free: 5.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/1.539, allocations: 327.5 kB / 1.385 GB, free: 5.238 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/1.54, allocations: 0.7171 MB / 1.385 GB, free: 4.539 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001018/1.54, allocations: 24.17 kB / 1.385 GB, free: 4.535 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/1.54, allocations: 15.25 kB / 1.385 GB, free: 4.527 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/1.54, allocations: 0 / 1.385 GB, free: 4.527 MB / 1.076 GB Notification: Performance of Templates: time 0.006132/1.546, allocations: 1.966 MB / 1.387 GB, free: 3.609 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