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.001114/0.001114, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001425/0.001425, allocations: 177.3 kB / 15.95 MB, free: 216 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.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.531/2.531, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004039, allocations: 12 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.825/0.8254, allocations: 142.3 MB / 0.9535 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1723/0.9978, allocations: 139.2 MB / 1.089 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004438/1.002, allocations: 4.461 MB / 1.094 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/1.003, allocations: 7.938 kB / 1.094 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000258/1.003, allocations: 35.81 kB / 1.094 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/1.003, allocations: 75.72 kB / 1.094 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/1.003, allocations: 27.97 kB / 1.094 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003953/1.004, allocations: 183.6 kB / 1.094 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/1.004, allocations: 59.2 kB / 1.094 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/1.004, allocations: 87.62 kB / 1.094 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/1.004, allocations: 43.8 kB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/1.004, allocations: 4 kB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.769e-05/1.004, allocations: 3.938 kB / 1.094 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/1.004, allocations: 19.92 kB / 1.094 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/1.004, allocations: 49.64 kB / 1.094 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/1.004, allocations: 111.7 kB / 1.094 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/1.004, allocations: 0 / 1.094 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.474e-06/1.004, allocations: 0 / 1.094 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.041e-06/1.004, allocations: 0 / 1.094 GB, free: 15.49 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.000622/1.005, allocations: 423 kB / 1.095 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.005, allocations: 8.031 kB / 1.095 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/1.005, allocations: 19.81 kB / 1.095 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/1.006, allocations: 240.3 kB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/1.006, allocations: 12.17 kB / 1.095 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/1.006, allocations: 12 kB / 1.095 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/1.006, allocations: 174 kB / 1.095 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.006, allocations: 0 / 1.095 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/1.006, allocations: 7.984 kB / 1.095 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/1.006, allocations: 4 kB / 1.095 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/1.006, allocations: 71.83 kB / 1.095 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009277/1.007, allocations: 1.152 MB / 1.096 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/1.007, allocations: 177.1 kB / 1.097 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/1.007, allocations: 75.28 kB / 1.097 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/1.007, allocations: 113.8 kB / 1.097 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/1.007, allocations: 0 / 1.097 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.38e-05/1.007, allocations: 41.52 kB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/1.007, allocations: 178.1 kB / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/1.008, allocations: 253 kB / 1.097 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/1.008, allocations: 25.7 kB / 1.097 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/1.008, allocations: 135.9 kB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/1.008, allocations: 4 kB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/1.008, allocations: 0 / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.008, allocations: 322.8 kB / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/1.008, allocations: 8 kB / 1.098 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.077e-05/1.008, allocations: 75.66 kB / 1.098 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/1.008, allocations: 19.98 kB / 1.098 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.008, allocations: 0 / 1.098 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001461/1.008, allocations: 93.33 kB / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.008, allocations: 4 kB / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.008, allocations: 3.984 kB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/1.008, allocations: 7.984 kB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/1.008, allocations: 8 kB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.008, allocations: 0 / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.799e-05/1.008, allocations: 11.84 kB / 1.098 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/1.008, allocations: 7.938 kB / 1.098 GB, free: 11.55 MB / 0.8575 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.0001337/1.009, allocations: 213.2 kB / 1.098 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/1.009, allocations: 120.8 kB / 1.098 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/1.009, allocations: 117.8 kB / 1.098 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.65e-05/1.009, allocations: 184.2 kB / 1.099 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.893e-05/1.009, allocations: 180.3 kB / 1.099 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.596e-05/1.009, allocations: 180.3 kB / 1.099 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/1.009, allocations: 457.2 kB / 1.099 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.997e-05/1.009, allocations: 101 kB / 1.099 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/1.009, allocations: 108.9 kB / 1.1 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.628e-05/1.009, allocations: 188.1 kB / 1.1 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/1.009, allocations: 180.2 kB / 1.1 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.396e-05/1.01, allocations: 184.3 kB / 1.1 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.305e-05/1.01, allocations: 188.2 kB / 1.1 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/1.01, allocations: 311.6 kB / 1.101 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/1.01, allocations: 197.8 kB / 1.101 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.729e-05/1.01, allocations: 192.2 kB / 1.101 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/1.01, allocations: 104.9 kB / 1.101 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/1.01, allocations: 176.3 kB / 1.101 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/1.01, allocations: 109 kB / 1.101 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001576/1.01, allocations: 180.5 kB / 1.101 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.01, allocations: 0 / 1.101 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002502/1.011, allocations: 27.91 kB / 1.102 GB, free: 7.707 MB / 0.8575 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.0001364/1.011, allocations: 178.5 kB / 1.102 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.726e-05/1.011, allocations: 19.98 kB / 1.102 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.011, allocations: 0 / 1.102 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-06/1.011, allocations: 3.938 kB / 1.102 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/1.011, allocations: 0.57 MB / 1.102 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/1.012, allocations: 347.4 kB / 1.103 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/1.012, allocations: 0.7321 MB / 1.103 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.86e-05/1.012, allocations: 21.58 kB / 1.103 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/1.012, allocations: 15.44 kB / 1.103 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/1.012, allocations: 0 / 1.103 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of Templates: time 0.004635/1.017, allocations: 1.788 MB / 1.105 GB, free: 4.004 MB / 0.8575 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","../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches