Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.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.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.455/1.455, allocations: 223.3 MB / 241 MB, free: 5.348 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.447/2.447, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003693, allocations: 8.234 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7994/0.7997, allocations: 142.4 MB / 0.9557 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2059/1.006, allocations: 182.1 MB / 1.134 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008177/1.014, allocations: 4.573 MB / 1.138 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/1.015, allocations: 23.81 kB / 1.138 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/1.017, allocations: 342.2 kB / 1.138 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004117/1.021, allocations: 1.276 MB / 1.14 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/1.023, allocations: 0.6674 MB / 1.14 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003556/1.026, allocations: 2.756 MB / 1.143 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/1.028, allocations: 0.5388 MB / 1.144 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/1.031, allocations: 0.9368 MB / 1.144 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/1.033, allocations: 0.5899 MB / 1.145 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001763/1.033, allocations: 28 kB / 1.145 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/1.036, allocations: 1.555 MB / 1.147 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004291/1.036, allocations: 247.3 kB / 1.147 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008378/1.037, allocations: 399.8 kB / 1.147 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/1.039, allocations: 1.06 MB / 1.148 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.039, allocations: 0 / 1.148 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.054e-06/1.039, allocations: 4 kB / 1.148 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.174e-05/1.039, allocations: 0 / 1.148 GB, free: 9.59 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001958/1.041, allocations: 0.9505 MB / 1.149 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.041, allocations: 11.97 kB / 1.149 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/1.042, allocations: 206.8 kB / 1.149 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/1.044, allocations: 0.5754 MB / 1.15 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/1.044, allocations: 41.31 kB / 1.15 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/1.044, allocations: 56 kB / 1.15 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/1.045, allocations: 0.6167 MB / 1.151 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/1.045, allocations: 7.938 kB / 1.151 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.694e-05/1.045, allocations: 20 kB / 1.151 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/1.045, allocations: 21.3 kB / 1.151 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008443/1.046, allocations: 0.4931 MB / 1.151 GB, free: 6.488 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/1.049, allocations: 2.4 MB / 1.153 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/1.05, allocations: 360.5 kB / 1.154 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/1.05, allocations: 210.2 kB / 1.154 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006152/1.051, allocations: 315.2 kB / 1.154 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/1.051, allocations: 42.55 kB / 1.154 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=36): time 2.114e-06/1.051, allocations: 0 / 1.154 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36): time 0.001197/1.052, allocations: 0.5523 MB / 1.155 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/1.052, allocations: 63.33 kB / 1.155 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006187/1.053, allocations: 0.4989 MB / 1.155 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/1.053, allocations: 33.64 kB / 1.155 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/1.053, allocations: 323.8 kB / 1.156 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/1.053, allocations: 130.1 kB / 1.156 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/1.053, allocations: 37.7 kB / 1.156 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.053, allocations: 366.8 kB / 1.156 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/1.053, allocations: 144.8 kB / 1.156 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/1.054, allocations: 259.8 kB / 1.157 GB, free: 432 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/1.054, allocations: 414.2 kB / 1.157 GB, free: 15.98 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/1.054, allocations: 0 / 1.157 GB, free: 15.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00077/1.055, allocations: 485.2 kB / 1.158 GB, free: 15.51 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.291e-05/1.055, allocations: 153.3 kB / 1.158 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.055, allocations: 7.984 kB / 1.158 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/1.055, allocations: 11.94 kB / 1.158 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/1.056, allocations: 103.8 kB / 1.158 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004429/1.056, allocations: 0.59 MB / 1.158 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008163/1.057, allocations: 75.59 kB / 1.158 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/1.057, allocations: 23.98 kB / 1.158 GB, free: 14.49 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/1.057, allocations: 5.406 kB / 1.158 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006276/1.058, allocations: 399.5 kB / 1.159 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/1.058, allocations: 4 kB / 1.159 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/1.058, allocations: 4 kB / 1.159 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/1.058, allocations: 91.83 kB / 1.159 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/1.058, allocations: 8.219 kB / 1.159 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/1.059, allocations: 75.55 kB / 1.159 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/1.059, allocations: 16 kB / 1.159 GB, free: 13.9 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003263/1.059, allocations: 305 kB / 1.159 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/1.059, allocations: 55.34 kB / 1.159 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000738/1.06, allocations: 445.2 kB / 1.16 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.06, allocations: 7.984 kB / 1.16 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.06, allocations: 0 / 1.16 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006427/1.061, allocations: 0.6637 MB / 1.16 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/1.063, allocations: 1.204 MB / 1.162 GB, free: 11.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.063, allocations: 16.08 kB / 1.162 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/1.063, allocations: 91.88 kB / 1.162 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.063, allocations: 4 kB / 1.162 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/1.063, allocations: 12 kB / 1.162 GB, free: 10.94 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003304/1.064, allocations: 0.5976 MB / 1.162 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.064, allocations: 3.938 kB / 1.162 GB, free: 10.31 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/1.064, allocations: 0.7013 MB / 1.163 GB, free: 9.574 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/1.065, allocations: 184.3 kB / 1.163 GB, free: 9.375 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/1.065, allocations: 8 kB / 1.163 GB, free: 9.367 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/1.065, allocations: 39.91 kB / 1.163 GB, free: 9.328 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/1.065, allocations: 27.91 kB / 1.163 GB, free: 9.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/1.065, allocations: 15.98 kB / 1.163 GB, free: 9.285 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004295/1.066, allocations: 358.8 kB / 1.164 GB, free: 8.938 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.066, allocations: 0 / 1.164 GB, free: 8.938 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009468/1.067, allocations: 347.1 kB / 1.164 GB, free: 8.598 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senMasFra1.X) * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005014/1.067, allocations: 194.3 kB / 1.164 GB, free: 8.406 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001256/1.069, allocations: 0.5895 MB / 1.165 GB, free: 7.816 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.069, allocations: 4 kB / 1.165 GB, free: 7.812 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/1.069, allocations: 189.3 kB / 1.165 GB, free: 7.629 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/1.071, allocations: 368.7 kB / 1.165 GB, free: 7.273 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/1.074, allocations: 1.715 MB / 1.167 GB, free: 5.504 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007829/1.074, allocations: 0.9456 MB / 1.168 GB, free: 4.531 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/1.075, allocations: 55.44 kB / 1.168 GB, free: 4.477 MB / 0.92 GB Notification: Performance of SimCode: time 6.31e-07/1.075, allocations: 0 / 1.168 GB, free: 4.477 MB / 0.92 GB Notification: Performance of Templates: time 0.02187/1.096, allocations: 12.58 MB / 1.18 GB, free: 7.98 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches