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.001585/0.001585, allocations: 102.2 kB / 16.27 MB, free: 6 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.001734/0.001734, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.445/2.445, allocations: 437 MB / 0.711 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 68.08 kB / 0.8699 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2953, allocations: 151.6 MB / 1.018 GB, free: 10.72 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7141/1.01, allocations: 186.8 MB / 1.2 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008034/1.018, allocations: 4.558 MB / 1.205 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/1.019, allocations: 33.12 kB / 1.205 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/1.02, allocations: 410.9 kB / 1.205 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003701/1.024, allocations: 1.338 MB / 1.207 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/1.026, allocations: 0.7573 MB / 1.207 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002611/1.029, allocations: 1.955 MB / 1.209 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009295/1.03, allocations: 0.6497 MB / 1.21 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/1.033, allocations: 1.08 MB / 1.211 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/1.034, allocations: 0.5862 MB / 1.211 GB, free: 172 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/1.034, allocations: 66.03 kB / 1.212 GB, free: 172 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/1.037, allocations: 1.383 MB / 1.213 GB, free: 15.4 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/1.037, allocations: 285.8 kB / 1.213 GB, free: 15.21 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007865/1.038, allocations: 417.7 kB / 1.214 GB, free: 14.95 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002928/1.041, allocations: 1.462 MB / 1.215 GB, free: 14.03 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.041, allocations: 0 / 1.215 GB, free: 14.03 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.325e-06/1.041, allocations: 0 / 1.215 GB, free: 14.03 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.354e-05/1.041, allocations: 0 / 1.215 GB, free: 14.03 MB / 0.92 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.002193/1.043, allocations: 1.103 MB / 1.216 GB, free: 13.14 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.044, allocations: 11.08 kB / 1.216 GB, free: 13.14 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/1.045, allocations: 206.8 kB / 1.216 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/1.046, allocations: 0.5687 MB / 1.217 GB, free: 12.58 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/1.046, allocations: 44.3 kB / 1.217 GB, free: 12.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-05/1.046, allocations: 57.91 kB / 1.217 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/1.047, allocations: 0.6221 MB / 1.218 GB, free: 12.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/1.047, allocations: 3.938 kB / 1.218 GB, free: 12.15 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/1.047, allocations: 29.22 kB / 1.218 GB, free: 12.13 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/1.047, allocations: 18.75 kB / 1.218 GB, free: 12.13 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008114/1.048, allocations: 0.4883 MB / 1.218 GB, free: 11.89 MB / 0.92 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.003227/1.051, allocations: 2.409 MB / 1.22 GB, free: 9.789 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/1.052, allocations: 364.8 kB / 1.221 GB, free: 9.598 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/1.052, allocations: 216.3 kB / 1.221 GB, free: 9.43 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000584/1.053, allocations: 303.2 kB / 1.221 GB, free: 9.078 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/1.053, allocations: 38.56 kB / 1.221 GB, free: 9.031 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 2.455e-06/1.053, allocations: 0 / 1.221 GB, free: 9.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=36): time 0.001217/1.054, allocations: 0.5537 MB / 1.222 GB, free: 8.473 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/1.054, allocations: 55.41 kB / 1.222 GB, free: 8.406 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006525/1.055, allocations: 0.5067 MB / 1.222 GB, free: 7.895 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/1.055, allocations: 37.7 kB / 1.222 GB, free: 7.852 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/1.055, allocations: 315.8 kB / 1.223 GB, free: 7.535 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/1.055, allocations: 126.1 kB / 1.223 GB, free: 7.41 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/1.056, allocations: 82.12 kB / 1.223 GB, free: 7.324 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.056, allocations: 374.7 kB / 1.223 GB, free: 6.949 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/1.056, allocations: 150.5 kB / 1.223 GB, free: 6.801 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/1.056, allocations: 259.8 kB / 1.224 GB, free: 6.508 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/1.057, allocations: 406.2 kB / 1.224 GB, free: 6.082 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.057, allocations: 0 / 1.224 GB, free: 6.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008027/1.058, allocations: 488.8 kB / 1.225 GB, free: 5.598 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.058, allocations: 7.984 kB / 1.225 GB, free: 5.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.058, allocations: 4 kB / 1.225 GB, free: 5.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.058, allocations: 4 kB / 1.225 GB, free: 5.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/1.058, allocations: 99.88 kB / 1.225 GB, free: 5.484 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004529/1.059, allocations: 0.6095 MB / 1.225 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005822/1.06, allocations: 39.53 kB / 1.225 GB, free: 4.812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/1.06, allocations: 19.98 kB / 1.225 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004944/1.06, allocations: 330.4 kB / 1.226 GB, free: 4.469 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003217/1.06, allocations: 259.5 kB / 1.226 GB, free: 4.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005318/1.061, allocations: 407.8 kB / 1.226 GB, free: 3.754 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.875e-06/1.061, allocations: 0 / 1.226 GB, free: 3.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007945/1.062, allocations: 484.6 kB / 1.227 GB, free: 3.273 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.062, allocations: 11.94 kB / 1.227 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.062, allocations: 0 / 1.227 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.062, allocations: 7.938 kB / 1.227 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/1.062, allocations: 91.84 kB / 1.227 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.062, allocations: 11.92 kB / 1.227 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/1.063, allocations: 27.75 kB / 1.227 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/1.063, allocations: 20.23 kB / 1.227 GB, free: 3.105 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.0001918/1.063, allocations: 212.1 kB / 1.227 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/1.063, allocations: 59.28 kB / 1.227 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007842/1.064, allocations: 435.5 kB / 1.228 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/1.064, allocations: 7.984 kB / 1.228 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.064, allocations: 0 / 1.228 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006426/1.065, allocations: 0.648 MB / 1.228 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/1.067, allocations: 1.207 MB / 1.229 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/1.067, allocations: 7.984 kB / 1.229 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/1.067, allocations: 92.11 kB / 1.229 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/1.067, allocations: 4 kB / 1.229 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/1.067, allocations: 12 kB / 1.229 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003515/1.068, allocations: 0.5937 MB / 1.23 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.068, allocations: 3.938 kB / 1.23 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009357/1.068, allocations: 0.7052 MB / 1.231 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/1.069, allocations: 180.3 kB / 1.231 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.069, allocations: 12.81 kB / 1.231 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/1.069, allocations: 19.98 kB / 1.231 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/1.069, allocations: 24 kB / 1.231 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/1.069, allocations: 19.98 kB / 1.231 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004737/1.07, allocations: 354.8 kB / 1.231 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.07, allocations: 0 / 1.231 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001149/1.071, allocations: 347.2 kB / 1.232 GB, free: 13.93 MB / 0.9356 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.0005523/1.072, allocations: 203.7 kB / 1.232 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001351/1.073, allocations: 0.6359 MB / 1.232 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.073, allocations: 0 / 1.232 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/1.073, allocations: 189 kB / 1.233 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/1.075, allocations: 359 kB / 1.233 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/1.078, allocations: 1.393 MB / 1.234 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/1.078, allocations: 0.9453 MB / 1.235 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/1.079, allocations: 47.44 kB / 1.235 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/1.079, allocations: 0 / 1.235 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of Templates: time 0.02026/1.099, allocations: 12.62 MB / 1.248 GB, free: 13.57 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches