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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009862/0.0009863, allocations: 100.2 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.001003/0.001003, allocations: 177.3 kB / 15.94 MB, free: 228 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.538/1.538, allocations: 223.2 MB / 239.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.744/2.744, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003707, allocations: 12 kB / 0.8707 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8709/0.8712, allocations: 153.7 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1872/1.059, allocations: 139.1 MB / 1.157 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004672/1.063, allocations: 4.465 MB / 1.161 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/1.064, allocations: 7.938 kB / 1.161 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002858/1.064, allocations: 39.81 kB / 1.161 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002418/1.064, allocations: 83.7 kB / 1.161 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/1.064, allocations: 27.97 kB / 1.161 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000377/1.065, allocations: 175.6 kB / 1.161 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/1.065, allocations: 78.86 kB / 1.161 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/1.065, allocations: 75.7 kB / 1.162 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/1.065, allocations: 43.78 kB / 1.162 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/1.065, allocations: 7.938 kB / 1.162 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/1.065, allocations: 0 / 1.162 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/1.065, allocations: 19.92 kB / 1.162 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/1.065, allocations: 53.64 kB / 1.162 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/1.065, allocations: 119.6 kB / 1.162 GB, free: 392 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/1.065, allocations: 0 / 1.162 GB, free: 392 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.645e-06/1.065, allocations: 0 / 1.162 GB, free: 392 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.931e-06/1.065, allocations: 0 / 1.162 GB, free: 392 kB / 0.9044 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.0005783/1.066, allocations: 414.8 kB / 1.162 GB, free: 15.93 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.066, allocations: 11.98 kB / 1.162 GB, free: 15.92 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/1.066, allocations: 19.81 kB / 1.162 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/1.066, allocations: 244.1 kB / 1.162 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/1.067, allocations: 16 kB / 1.162 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/1.067, allocations: 12 kB / 1.162 GB, free: 15.59 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/1.067, allocations: 168.4 kB / 1.163 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.067, allocations: 3.984 kB / 1.163 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/1.067, allocations: 8 kB / 1.163 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.067, allocations: 4 kB / 1.163 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/1.067, allocations: 67.84 kB / 1.163 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/1.068, allocations: 1.148 MB / 1.164 GB, free: 14.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.98e-05/1.068, allocations: 173.1 kB / 1.164 GB, free: 13.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/1.068, allocations: 79.28 kB / 1.164 GB, free: 13.83 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/1.068, allocations: 113.8 kB / 1.164 GB, free: 13.71 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/1.068, allocations: 0 / 1.164 GB, free: 13.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.843e-05/1.068, allocations: 45.52 kB / 1.164 GB, free: 13.66 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/1.068, allocations: 178.1 kB / 1.164 GB, free: 13.46 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/1.069, allocations: 253 kB / 1.165 GB, free: 13.2 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/1.069, allocations: 29.64 kB / 1.165 GB, free: 13.17 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/1.069, allocations: 131.9 kB / 1.165 GB, free: 13.04 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/1.069, allocations: 4 kB / 1.165 GB, free: 13.03 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/1.069, allocations: 0 / 1.165 GB, free: 13.03 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.069, allocations: 330.8 kB / 1.165 GB, free: 12.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/1.069, allocations: 4 kB / 1.165 GB, free: 12.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/1.069, allocations: 71.66 kB / 1.165 GB, free: 12.6 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/1.069, allocations: 19.98 kB / 1.165 GB, free: 12.58 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.069, allocations: 3.938 kB / 1.165 GB, free: 12.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001718/1.069, allocations: 85.38 kB / 1.165 GB, free: 12.48 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.069, allocations: 4 kB / 1.165 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.069, allocations: 4.156 kB / 1.165 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/1.069, allocations: 4 kB / 1.165 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/1.069, allocations: 8 kB / 1.165 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/1.069, allocations: 0 / 1.165 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/1.069, allocations: 23.73 kB / 1.165 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/1.069, allocations: 7.953 kB / 1.165 GB, free: 12.43 MB / 0.92 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.0001261/1.07, allocations: 205.1 kB / 1.165 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/1.07, allocations: 120.8 kB / 1.166 GB, free: 12.1 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/1.07, allocations: 121.9 kB / 1.166 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.679e-05/1.07, allocations: 184.2 kB / 1.166 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.479e-05/1.07, allocations: 176.3 kB / 1.166 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.28e-05/1.07, allocations: 180.3 kB / 1.166 GB, free: 11.42 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/1.07, allocations: 457.1 kB / 1.167 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.802e-05/1.07, allocations: 109 kB / 1.167 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/1.07, allocations: 108.9 kB / 1.167 GB, free: 10.69 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.749e-05/1.07, allocations: 176.3 kB / 1.167 GB, free: 10.51 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/1.07, allocations: 180.2 kB / 1.167 GB, free: 10.33 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.699e-05/1.07, allocations: 184.4 kB / 1.167 GB, free: 10.14 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.508e-05/1.071, allocations: 188.2 kB / 1.168 GB, free: 9.949 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/1.071, allocations: 319.6 kB / 1.168 GB, free: 9.613 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/1.071, allocations: 201.8 kB / 1.168 GB, free: 9.391 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/1.071, allocations: 180.3 kB / 1.168 GB, free: 9.207 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/1.071, allocations: 104.9 kB / 1.168 GB, free: 9.098 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/1.071, allocations: 184.3 kB / 1.169 GB, free: 8.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/1.071, allocations: 105 kB / 1.169 GB, free: 8.801 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001581/1.071, allocations: 180.5 kB / 1.169 GB, free: 8.621 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.071, allocations: 0 / 1.169 GB, free: 8.621 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00024/1.072, allocations: 20 kB / 1.169 GB, free: 8.602 MB / 0.92 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.0001353/1.072, allocations: 178.5 kB / 1.169 GB, free: 8.418 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.304e-05/1.072, allocations: 20.12 kB / 1.169 GB, free: 8.398 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.072, allocations: 3.938 kB / 1.169 GB, free: 8.395 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/1.072, allocations: 3.938 kB / 1.169 GB, free: 8.391 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/1.072, allocations: 0.5815 MB / 1.17 GB, free: 7.805 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/1.073, allocations: 351.4 kB / 1.17 GB, free: 7.43 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/1.073, allocations: 0.7243 MB / 1.171 GB, free: 6.68 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.455e-05/1.073, allocations: 25.53 kB / 1.171 GB, free: 6.656 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/1.073, allocations: 15.44 kB / 1.171 GB, free: 6.641 MB / 0.92 GB Notification: Performance of SimCode: time 2.01e-07/1.073, allocations: 0 / 1.171 GB, free: 6.641 MB / 0.92 GB Notification: Performance of Templates: time 0.00455/1.078, allocations: 1.783 MB / 1.172 GB, free: 4.883 MB / 0.92 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","../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches