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.001407/0.001407, allocations: 100.1 kB / 15.88 MB, free: 12 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.001845/0.001845, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.419/1.419, allocations: 222.9 MB / 240.5 MB, free: 4.523 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.392/2.392, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001453, allocations: 63.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6488/0.6503, allocations: 140.3 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1998/0.8502, allocations: 184.6 MB / 1.13 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008361/0.8586, allocations: 4.635 MB / 1.134 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.8599, allocations: 27.81 kB / 1.134 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.8614, allocations: 346.1 kB / 1.135 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004167/0.8656, allocations: 1.272 MB / 1.136 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.8679, allocations: 0.6693 MB / 1.137 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003496/0.8714, allocations: 2.744 MB / 1.139 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.8726, allocations: 0.5588 MB / 1.14 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003916/0.8765, allocations: 0.9638 MB / 1.141 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.878, allocations: 0.6075 MB / 1.141 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.8783, allocations: 36 kB / 1.141 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.8816, allocations: 1.559 MB / 1.143 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004914/0.8821, allocations: 259.2 kB / 1.143 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007931/0.8829, allocations: 386.1 kB / 1.144 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.8848, allocations: 1.08 MB / 1.145 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8848, allocations: 0 / 1.145 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.62e-07/0.8848, allocations: 0 / 1.145 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.075e-05/0.8849, allocations: 0 / 1.145 GB, free: 9.785 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.002369/0.8873, allocations: 1.094 MB / 1.146 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.8873, allocations: 12.03 kB / 1.146 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.8888, allocations: 198.9 kB / 1.146 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.89, allocations: 0.5793 MB / 1.146 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.89, allocations: 41.31 kB / 1.146 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.8901, allocations: 55.91 kB / 1.147 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.8913, allocations: 0.6206 MB / 1.147 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.8914, allocations: 3.938 kB / 1.147 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.8914, allocations: 20 kB / 1.147 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.8915, allocations: 21.31 kB / 1.147 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008395/0.8923, allocations: 0.5008 MB / 1.148 GB, free: 6.535 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.003367/0.8957, allocations: 2.388 MB / 1.15 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.8964, allocations: 366 kB / 1.15 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.8967, allocations: 208.8 kB / 1.151 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006031/0.8973, allocations: 315.2 kB / 1.151 GB, free: 3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.8974, allocations: 38.5 kB / 1.151 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=36): time 3.156e-06/0.8974, allocations: 0 / 1.151 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36): time 0.001263/0.8987, allocations: 0.5447 MB / 1.151 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.8987, allocations: 55.27 kB / 1.151 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.8993, allocations: 0.5028 MB / 1.152 GB, free: 1.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/0.8994, allocations: 33.7 kB / 1.152 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.8996, allocations: 319.8 kB / 1.152 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.8998, allocations: 126.2 kB / 1.152 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.8999, allocations: 86.03 kB / 1.152 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9001, allocations: 366.8 kB / 1.153 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.9004, allocations: 146.5 kB / 1.153 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.9007, allocations: 267.7 kB / 1.153 GB, free: 448 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007066/0.9014, allocations: 398.3 kB / 1.154 GB, free: 20 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.9015, allocations: 8 kB / 1.154 GB, free: 12 kB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008422/0.9023, allocations: 485 kB / 1.154 GB, free: 15.53 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.9023, allocations: 8 kB / 1.154 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.9023, allocations: 0 / 1.154 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.9024, allocations: 4 kB / 1.154 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.903, allocations: 108.1 kB / 1.154 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004088/0.9034, allocations: 0.5976 MB / 1.155 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006834/0.9041, allocations: 83.52 kB / 1.155 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.9042, allocations: 20 kB / 1.155 GB, free: 14.69 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004869/0.9047, allocations: 324.9 kB / 1.155 GB, free: 14.37 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003345/0.905, allocations: 255.4 kB / 1.155 GB, free: 14.08 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005457/0.9056, allocations: 404.6 kB / 1.156 GB, free: 13.65 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.9056, allocations: 0 / 1.156 GB, free: 13.65 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007891/0.9064, allocations: 492.5 kB / 1.156 GB, free: 13.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.9064, allocations: 4 kB / 1.156 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.9064, allocations: 11.92 kB / 1.156 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.9064, allocations: 4 kB / 1.156 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.9068, allocations: 84.03 kB / 1.156 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.9068, allocations: 4 kB / 1.156 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006344/0.9075, allocations: 71.92 kB / 1.156 GB, free: 12.99 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.9075, allocations: 23.77 kB / 1.156 GB, free: 12.97 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.0002039/0.9077, allocations: 213.5 kB / 1.157 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.9079, allocations: 59.28 kB / 1.157 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007818/0.9087, allocations: 441.2 kB / 1.157 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.9087, allocations: 0 / 1.157 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.9087, allocations: 4 kB / 1.157 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006298/0.9094, allocations: 0.6598 MB / 1.158 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.9113, allocations: 1.212 MB / 1.159 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.9113, allocations: 0 / 1.159 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.9118, allocations: 92.09 kB / 1.159 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.9118, allocations: 4 kB / 1.159 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.9119, allocations: 16 kB / 1.159 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003165/0.9122, allocations: 0.5898 MB / 1.16 GB, free: 9.496 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.9122, allocations: 0 / 1.16 GB, free: 9.496 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009323/0.9131, allocations: 0.7041 MB / 1.16 GB, free: 8.754 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.9134, allocations: 184.3 kB / 1.161 GB, free: 8.555 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.9135, allocations: 11.94 kB / 1.161 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.9141, allocations: 39.91 kB / 1.161 GB, free: 8.504 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.9141, allocations: 27.97 kB / 1.161 GB, free: 8.477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.9142, allocations: 19.94 kB / 1.161 GB, free: 8.457 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004694/0.9146, allocations: 358.8 kB / 1.161 GB, free: 8.109 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9146, allocations: 0 / 1.161 GB, free: 8.109 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001083/0.9157, allocations: 343.1 kB / 1.161 GB, free: 7.773 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.000589/0.9163, allocations: 208.4 kB / 1.162 GB, free: 7.57 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.9176, allocations: 0.5841 MB / 1.162 GB, free: 6.988 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9176, allocations: 0 / 1.162 GB, free: 6.988 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.918, allocations: 187.7 kB / 1.162 GB, free: 6.805 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.9198, allocations: 370.2 kB / 1.163 GB, free: 6.445 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.9224, allocations: 1.618 MB / 1.164 GB, free: 4.77 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.923, allocations: 0.9417 MB / 1.165 GB, free: 3.801 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.9232, allocations: 47.44 kB / 1.165 GB, free: 3.754 MB / 0.92 GB Notification: Performance of SimCode: time 4.51e-07/0.9232, allocations: 0 / 1.165 GB, free: 3.754 MB / 0.92 GB Notification: Performance of Templates: time 0.01992/0.9432, allocations: 12.68 MB / 1.178 GB, free: 7.16 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