Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001158/0.001157, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001385/0.001385, allocations: 192.8 kB / 16.25 MB, free: 6.625 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7412/0.7425, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2028/0.9453, allocations: 184.4 MB / 1.197 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007704/0.953, allocations: 4.537 MB / 1.201 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.9544, allocations: 27.81 kB / 1.201 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.9559, allocations: 358.1 kB / 1.202 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003556/0.9595, allocations: 1.265 MB / 1.203 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.9615, allocations: 0.6863 MB / 1.204 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002479/0.964, allocations: 1.968 MB / 1.205 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.965, allocations: 0.6242 MB / 1.206 GB, free: 176 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003309/0.9683, allocations: 1.081 MB / 1.207 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.9695, allocations: 0.6228 MB / 1.208 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.9697, allocations: 64 kB / 1.208 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.9721, allocations: 1.438 MB / 1.209 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003937/0.9725, allocations: 283.2 kB / 1.209 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006542/0.9732, allocations: 426.1 kB / 1.21 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.9757, allocations: 1.535 MB / 1.211 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.9757, allocations: 4 kB / 1.211 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9757, allocations: 4 kB / 1.211 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.322e-05/0.9757, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9669 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.002065/0.9778, allocations: 1.083 MB / 1.212 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9778, allocations: 12.03 kB / 1.212 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.9792, allocations: 210.8 kB / 1.213 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000999/0.9802, allocations: 0.5715 MB / 1.213 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.9803, allocations: 49.25 kB / 1.213 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.912e-05/0.9804, allocations: 52 kB / 1.213 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.9815, allocations: 0.6206 MB / 1.214 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.9815, allocations: 3.938 kB / 1.214 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.201e-05/0.9815, allocations: 20 kB / 1.214 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.9816, allocations: 17.31 kB / 1.214 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000826/0.9824, allocations: 0.4969 MB / 1.214 GB, free: 7.496 MB / 0.9669 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.00305/0.9855, allocations: 2.392 MB / 1.217 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.9861, allocations: 358.7 kB / 1.217 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.9864, allocations: 212.8 kB / 1.217 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.987, allocations: 311.8 kB / 1.218 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.9871, allocations: 38.56 kB / 1.218 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 1.974e-06/0.9871, allocations: 0 / 1.218 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36): time 0.001197/0.9883, allocations: 0.553 MB / 1.218 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.9883, allocations: 55.41 kB / 1.218 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005827/0.9889, allocations: 0.4989 MB / 1.219 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.989, allocations: 37.7 kB / 1.219 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.9892, allocations: 315.8 kB / 1.219 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.9893, allocations: 134.1 kB / 1.219 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.9895, allocations: 82.12 kB / 1.219 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9896, allocations: 358.8 kB / 1.22 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.9899, allocations: 154.5 kB / 1.22 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.9902, allocations: 271.7 kB / 1.22 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.9908, allocations: 402.1 kB / 1.22 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9908, allocations: 0 / 1.22 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000738/0.9916, allocations: 488.9 kB / 1.221 GB, free: 492 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.9916, allocations: 4 kB / 1.221 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.9916, allocations: 4 kB / 1.221 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.9917, allocations: 4 kB / 1.221 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.9922, allocations: 107.8 kB / 1.221 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003844/0.9926, allocations: 0.6018 MB / 1.222 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/0.9933, allocations: 79.58 kB / 1.222 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.9933, allocations: 12 kB / 1.222 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004475/0.9938, allocations: 332.9 kB / 1.222 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003251/0.9941, allocations: 259.4 kB / 1.222 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005531/0.9947, allocations: 404.6 kB / 1.223 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.9947, allocations: 3.938 kB / 1.223 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007059/0.9954, allocations: 480.8 kB / 1.223 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.9954, allocations: 11.98 kB / 1.223 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9954, allocations: 3.938 kB / 1.223 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/0.9954, allocations: 4 kB / 1.223 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.9958, allocations: 87.84 kB / 1.223 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.9958, allocations: 4 kB / 1.223 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.9964, allocations: 67.7 kB / 1.223 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.9964, allocations: 20 kB / 1.223 GB, free: 13.93 MB / 0.9825 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.000155/0.9966, allocations: 214.2 kB / 1.223 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.9967, allocations: 59.28 kB / 1.224 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007065/0.9974, allocations: 431.6 kB / 1.224 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.9974, allocations: 4 kB / 1.224 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9975, allocations: 0 / 1.224 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006479/0.9981, allocations: 0.6634 MB / 1.225 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.9999, allocations: 1.204 MB / 1.226 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.9999, allocations: 8 kB / 1.226 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/1, allocations: 91.86 kB / 1.226 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/1, allocations: 7.984 kB / 1.226 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/1, allocations: 12.22 kB / 1.226 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002951/1.001, allocations: 0.5977 MB / 1.226 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.001, allocations: 0 / 1.226 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008627/1.002, allocations: 0.7059 MB / 1.227 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/1.002, allocations: 180.4 kB / 1.227 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/1.002, allocations: 15.94 kB / 1.227 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/1.002, allocations: 43.09 kB / 1.227 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/1.003, allocations: 23.97 kB / 1.227 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/1.003, allocations: 8 kB / 1.227 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003904/1.003, allocations: 366.8 kB / 1.228 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.003, allocations: 0 / 1.228 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009249/1.004, allocations: 347.1 kB / 1.228 GB, free: 8.73 MB / 0.9825 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.0004505/1.004, allocations: 211.9 kB / 1.228 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001227/1.006, allocations: 0.6249 MB / 1.229 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.006, allocations: 4.312 kB / 1.229 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/1.006, allocations: 188.5 kB / 1.229 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/1.008, allocations: 356.4 kB / 1.229 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/1.01, allocations: 1.578 MB / 1.231 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/1.01, allocations: 0.9453 MB / 1.232 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000666/1.011, allocations: 204.9 kB / 1.232 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/1.011, allocations: 51.44 kB / 1.232 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/1.011, allocations: 0 / 1.232 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of Templates: time 0.02218/1.033, allocations: 11.73 MB / 1.244 GB, free: 8.969 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches