Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 107.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.692/2.692, allocations: 476.7 MB / 0.7634 GB, free: 10.93 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=501,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 79.88 kB / 1.108 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8069/0.8089, allocations: 168.7 MB / 1.272 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2316/1.04, allocations: 187.4 MB / 1.455 GB, free: 8.504 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008311/1.049, allocations: 4.598 MB / 1.46 GB, free: 3.902 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/1.05, allocations: 31.81 kB / 1.46 GB, free: 3.871 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/1.051, allocations: 429.4 kB / 1.46 GB, free: 3.449 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003783/1.055, allocations: 1.392 MB / 1.462 GB, free: 2.051 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/1.057, allocations: 0.7705 MB / 1.462 GB, free: 1.285 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002996/1.06, allocations: 1.96 MB / 1.464 GB, free: 15.32 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009339/1.061, allocations: 0.5578 MB / 1.465 GB, free: 14.75 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/1.064, allocations: 1.119 MB / 1.466 GB, free: 13.64 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/1.066, allocations: 0.6302 MB / 1.467 GB, free: 13.01 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/1.066, allocations: 68 kB / 1.467 GB, free: 12.94 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/1.069, allocations: 1.446 MB / 1.468 GB, free: 11.49 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.00039/1.069, allocations: 299.1 kB / 1.468 GB, free: 11.2 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006035/1.07, allocations: 418.1 kB / 1.469 GB, free: 10.79 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002997/1.073, allocations: 1.479 MB / 1.47 GB, free: 9.309 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.073, allocations: 3.984 kB / 1.47 GB, free: 9.305 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.422e-06/1.073, allocations: 0 / 1.47 GB, free: 9.305 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.082e-05/1.073, allocations: 0 / 1.47 GB, free: 9.305 MB / 1.17 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.001917/1.075, allocations: 1.12 MB / 1.471 GB, free: 8.133 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/1.075, allocations: 12.03 kB / 1.471 GB, free: 8.121 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/1.076, allocations: 207.3 kB / 1.472 GB, free: 7.918 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/1.077, allocations: 0.615 MB / 1.472 GB, free: 7.262 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/1.077, allocations: 45.31 kB / 1.472 GB, free: 7.219 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.077, allocations: 52 kB / 1.472 GB, free: 7.168 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/1.079, allocations: 0.6167 MB / 1.473 GB, free: 6.535 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/1.079, allocations: 7.922 kB / 1.473 GB, free: 6.527 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.704e-05/1.079, allocations: 24 kB / 1.473 GB, free: 6.504 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/1.079, allocations: 21.31 kB / 1.473 GB, free: 6.484 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008646/1.08, allocations: 0.4931 MB / 1.473 GB, free: 5.988 MB / 1.17 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.003317/1.083, allocations: 2.397 MB / 1.476 GB, free: 3.383 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/1.084, allocations: 357.3 kB / 1.476 GB, free: 3.027 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/1.084, allocations: 201.3 kB / 1.476 GB, free: 2.828 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006279/1.084, allocations: 299.2 kB / 1.477 GB, free: 2.48 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/1.084, allocations: 38.56 kB / 1.477 GB, free: 2.434 MB / 1.17 GB Notification: Performance of pre-optimization done (n=36): time 4.028e-06/1.084, allocations: 7.922 kB / 1.477 GB, free: 2.426 MB / 1.17 GB Notification: Performance of matching and sorting (n=36): time 0.001244/1.086, allocations: 0.5564 MB / 1.477 GB, free: 1.863 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.086, allocations: 59.41 kB / 1.477 GB, free: 1.793 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006452/1.086, allocations: 0.5066 MB / 1.478 GB, free: 1.273 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/1.086, allocations: 37.7 kB / 1.478 GB, free: 1.23 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/1.087, allocations: 316.4 kB / 1.478 GB, free: 0.918 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/1.087, allocations: 134.8 kB / 1.478 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/1.087, allocations: 82.12 kB / 1.478 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001955/1.087, allocations: 362.8 kB / 1.479 GB, free: 344 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/1.088, allocations: 158.5 kB / 1.479 GB, free: 184 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/1.088, allocations: 258.5 kB / 1.479 GB, free: 15.89 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/1.088, allocations: 410.2 kB / 1.479 GB, free: 15.46 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.088, allocations: 0 / 1.479 GB, free: 15.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007882/1.089, allocations: 489.5 kB / 1.48 GB, free: 14.97 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.089, allocations: 4 kB / 1.48 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.089, allocations: 4 kB / 1.48 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/1.089, allocations: 4 kB / 1.48 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/1.09, allocations: 104.2 kB / 1.48 GB, free: 14.86 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004662/1.09, allocations: 0.6015 MB / 1.481 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/1.091, allocations: 39.72 kB / 1.481 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/1.091, allocations: 16 kB / 1.481 GB, free: 14.18 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004896/1.091, allocations: 334.4 kB / 1.481 GB, free: 13.85 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003441/1.092, allocations: 259.5 kB / 1.481 GB, free: 13.56 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005786/1.092, allocations: 404.5 kB / 1.482 GB, free: 13.14 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/1.092, allocations: 0 / 1.482 GB, free: 13.14 MB / 1.186 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007559/1.093, allocations: 488.8 kB / 1.482 GB, free: 12.65 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/1.093, allocations: 11.94 kB / 1.482 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.093, allocations: 4.062 kB / 1.482 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/1.093, allocations: 8 kB / 1.482 GB, free: 12.63 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/1.093, allocations: 91.84 kB / 1.482 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.093, allocations: 4 kB / 1.482 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/1.094, allocations: 44.05 kB / 1.482 GB, free: 12.49 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/1.094, allocations: 12 kB / 1.482 GB, free: 12.48 MB / 1.186 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.0002076/1.094, allocations: 212.2 kB / 1.482 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.094, allocations: 63.56 kB / 1.482 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/1.095, allocations: 451.3 kB / 1.483 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.095, allocations: 0 / 1.483 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.095, allocations: 4 kB / 1.483 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000701/1.096, allocations: 0.6534 MB / 1.484 GB, free: 11.01 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/1.098, allocations: 1.204 MB / 1.485 GB, free: 9.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.098, allocations: 7.969 kB / 1.485 GB, free: 9.723 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/1.098, allocations: 91.89 kB / 1.485 GB, free: 9.633 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.098, allocations: 3.984 kB / 1.485 GB, free: 9.629 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/1.098, allocations: 12 kB / 1.485 GB, free: 9.617 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003917/1.099, allocations: 0.5899 MB / 1.485 GB, free: 9.004 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.099, allocations: 3.938 kB / 1.485 GB, free: 9 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009862/1.1, allocations: 0.7169 MB / 1.486 GB, free: 8.242 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/1.1, allocations: 184.7 kB / 1.486 GB, free: 8.043 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/1.1, allocations: 11.94 kB / 1.486 GB, free: 8.031 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/1.1, allocations: 14.06 kB / 1.486 GB, free: 8.02 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/1.1, allocations: 19.97 kB / 1.486 GB, free: 8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/1.1, allocations: 19.98 kB / 1.486 GB, free: 7.98 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004512/1.101, allocations: 354.8 kB / 1.487 GB, free: 7.637 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.101, allocations: 0 / 1.487 GB, free: 7.637 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009734/1.102, allocations: 355.3 kB / 1.487 GB, free: 7.289 MB / 1.186 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.0005154/1.102, allocations: 193 kB / 1.487 GB, free: 7.098 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001279/1.104, allocations: 0.5705 MB / 1.488 GB, free: 6.527 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.104, allocations: 9.062 kB / 1.488 GB, free: 6.52 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00033/1.104, allocations: 176.9 kB / 1.488 GB, free: 6.348 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/1.105, allocations: 364.1 kB / 1.488 GB, free: 5.988 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/1.108, allocations: 1.406 MB / 1.49 GB, free: 4.52 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006307/1.109, allocations: 0.9375 MB / 1.491 GB, free: 3.555 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/1.109, allocations: 55.36 kB / 1.491 GB, free: 3.5 MB / 1.186 GB Notification: Performance of SimCode: time 9.21e-07/1.109, allocations: 0 / 1.491 GB, free: 3.5 MB / 1.186 GB Notification: Performance of Templates: time 0.0196/1.128, allocations: 12.74 MB / 1.503 GB, free: 6.84 MB / 1.201 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches