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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 201 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,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.001947/0.001947, allocations: 63.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 168.7 MB / 1.274 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2643/1.315, allocations: 187.8 MB / 1.457 GB, free: 7.898 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009896/1.325, allocations: 4.609 MB / 1.462 GB, free: 3.285 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/1.326, allocations: 31.81 kB / 1.462 GB, free: 3.254 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/1.328, allocations: 421.4 kB / 1.462 GB, free: 2.84 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00462/1.332, allocations: 1.4 MB / 1.464 GB, free: 1.438 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/1.335, allocations: 0.7667 MB / 1.464 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003227/1.338, allocations: 1.971 MB / 1.466 GB, free: 14.7 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/1.339, allocations: 0.5032 MB / 1.467 GB, free: 14.18 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003917/1.343, allocations: 1.114 MB / 1.468 GB, free: 13.07 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/1.344, allocations: 0.6264 MB / 1.469 GB, free: 12.45 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002334/1.345, allocations: 68 kB / 1.469 GB, free: 12.38 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/1.348, allocations: 1.45 MB / 1.47 GB, free: 10.93 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005281/1.349, allocations: 299.1 kB / 1.47 GB, free: 10.64 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000895/1.35, allocations: 414.1 kB / 1.471 GB, free: 10.23 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003546/1.353, allocations: 1.483 MB / 1.472 GB, free: 8.742 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.353, allocations: 0 / 1.472 GB, free: 8.742 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.463e-06/1.353, allocations: 0 / 1.472 GB, free: 8.742 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.212e-05/1.353, allocations: 0 / 1.472 GB, free: 8.742 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.002601/1.356, allocations: 1.128 MB / 1.473 GB, free: 7.562 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.356, allocations: 8.031 kB / 1.473 GB, free: 7.555 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/1.357, allocations: 211.3 kB / 1.474 GB, free: 7.348 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/1.359, allocations: 0.6071 MB / 1.474 GB, free: 6.707 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.91e-05/1.359, allocations: 41.31 kB / 1.474 GB, free: 6.664 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/1.359, allocations: 56 kB / 1.474 GB, free: 6.609 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/1.36, allocations: 0.6206 MB / 1.475 GB, free: 5.973 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/1.36, allocations: 11.92 kB / 1.475 GB, free: 5.961 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/1.36, allocations: 20 kB / 1.475 GB, free: 5.941 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/1.36, allocations: 21.31 kB / 1.475 GB, free: 5.922 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009235/1.361, allocations: 0.4892 MB / 1.475 GB, free: 5.43 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.003921/1.365, allocations: 2.405 MB / 1.478 GB, free: 2.812 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/1.366, allocations: 360.2 kB / 1.478 GB, free: 2.457 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/1.366, allocations: 198 kB / 1.478 GB, free: 2.262 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006684/1.367, allocations: 303.2 kB / 1.479 GB, free: 1.91 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/1.367, allocations: 46.56 kB / 1.479 GB, free: 1.855 MB / 1.17 GB Notification: Performance of pre-optimization done (n=36): time 2.425e-06/1.367, allocations: 0 / 1.479 GB, free: 1.855 MB / 1.17 GB Notification: Performance of matching and sorting (n=36): time 0.001306/1.368, allocations: 0.5488 MB / 1.479 GB, free: 1.301 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/1.368, allocations: 59.34 kB / 1.479 GB, free: 1.23 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/1.369, allocations: 0.5066 MB / 1.48 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/1.369, allocations: 33.7 kB / 1.48 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/1.369, allocations: 320.4 kB / 1.48 GB, free: 364 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/1.369, allocations: 138.8 kB / 1.48 GB, free: 224 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.37, allocations: 82.12 kB / 1.48 GB, free: 136 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002274/1.37, allocations: 366.8 kB / 1.481 GB, free: 15.77 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/1.37, allocations: 150.5 kB / 1.481 GB, free: 15.62 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/1.37, allocations: 259.8 kB / 1.481 GB, free: 15.32 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/1.371, allocations: 406.2 kB / 1.481 GB, free: 14.89 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.371, allocations: 0 / 1.481 GB, free: 14.89 MB / 1.186 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008706/1.372, allocations: 493.6 kB / 1.482 GB, free: 14.41 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.372, allocations: 4 kB / 1.482 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.372, allocations: 4 kB / 1.482 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.372, allocations: 4 kB / 1.482 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/1.373, allocations: 103.9 kB / 1.482 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004845/1.373, allocations: 0.5978 MB / 1.482 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/1.374, allocations: 47.78 kB / 1.483 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/1.374, allocations: 23.98 kB / 1.483 GB, free: 13.6 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005019/1.374, allocations: 326.4 kB / 1.483 GB, free: 13.28 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003733/1.375, allocations: 255.4 kB / 1.483 GB, free: 13 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006306/1.375, allocations: 408.5 kB / 1.483 GB, free: 12.57 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/1.375, allocations: 0 / 1.483 GB, free: 12.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008226/1.376, allocations: 484.8 kB / 1.484 GB, free: 12.09 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/1.376, allocations: 14.25 kB / 1.484 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.376, allocations: 11.94 kB / 1.484 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/1.376, allocations: 4 kB / 1.484 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/1.376, allocations: 83.91 kB / 1.484 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/1.376, allocations: 7.938 kB / 1.484 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/1.377, allocations: 35.77 kB / 1.484 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/1.377, allocations: 16 kB / 1.484 GB, free: 11.92 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.0002118/1.377, allocations: 212.1 kB / 1.484 GB, free: 11.7 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/1.377, allocations: 67.56 kB / 1.484 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008449/1.378, allocations: 453.7 kB / 1.485 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.378, allocations: 4 kB / 1.485 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.378, allocations: 0 / 1.485 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007738/1.379, allocations: 0.6521 MB / 1.485 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/1.381, allocations: 1.214 MB / 1.487 GB, free: 9.152 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/1.381, allocations: 128 / 1.487 GB, free: 9.152 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/1.382, allocations: 95.89 kB / 1.487 GB, free: 9.059 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/1.382, allocations: 7.984 kB / 1.487 GB, free: 9.051 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/1.382, allocations: 8 kB / 1.487 GB, free: 9.043 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004339/1.382, allocations: 0.5901 MB / 1.487 GB, free: 8.43 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.382, allocations: 7.938 kB / 1.487 GB, free: 8.422 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/1.383, allocations: 0.7083 MB / 1.488 GB, free: 7.672 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/1.383, allocations: 180.7 kB / 1.488 GB, free: 7.477 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-05/1.384, allocations: 11.94 kB / 1.488 GB, free: 7.465 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/1.384, allocations: 12 kB / 1.488 GB, free: 7.453 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/1.384, allocations: 27.91 kB / 1.488 GB, free: 7.426 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/1.384, allocations: 19.98 kB / 1.488 GB, free: 7.406 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004779/1.385, allocations: 354.8 kB / 1.489 GB, free: 7.062 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.385, allocations: 0 / 1.489 GB, free: 7.062 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00103/1.386, allocations: 351.3 kB / 1.489 GB, free: 6.719 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.0005352/1.386, allocations: 197.2 kB / 1.489 GB, free: 6.523 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001344/1.387, allocations: 0.5673 MB / 1.49 GB, free: 5.957 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.269e-06/1.387, allocations: 4 kB / 1.49 GB, free: 5.953 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/1.388, allocations: 175.8 kB / 1.49 GB, free: 5.781 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/1.39, allocations: 367.2 kB / 1.49 GB, free: 5.43 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/1.392, allocations: 1.366 MB / 1.492 GB, free: 4.008 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/1.393, allocations: 0.9453 MB / 1.492 GB, free: 3.035 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006696/1.393, allocations: 200.9 kB / 1.493 GB, free: 2.84 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/1.394, allocations: 47.44 kB / 1.493 GB, free: 2.793 MB / 1.186 GB Notification: Performance of SimCode: time 4.91e-07/1.394, allocations: 0 / 1.493 GB, free: 2.793 MB / 1.186 GB Notification: Performance of Templates: time 0.8693/2.263, allocations: 12.11 MB / 1.505 GB, free: 6.852 MB / 1.201 GB " [Timeout remaining time 298] 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 -s cvode -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_2/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 [Calling sys.exit(0), Time elapsed: 11.116512732114643]