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.001774/0.001774, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002051/0.002051, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.577/1.577, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.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.78/2.78, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 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.002002/0.002002, allocations: 67.91 kB / 1.107 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132/1.134, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2684/1.402, allocations: 187.8 MB / 1.455 GB, free: 8.785 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009572/1.412, allocations: 4.605 MB / 1.46 GB, free: 4.176 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/1.413, allocations: 31.81 kB / 1.46 GB, free: 4.145 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/1.415, allocations: 429.4 kB / 1.46 GB, free: 3.723 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00444/1.419, allocations: 1.392 MB / 1.462 GB, free: 2.324 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/1.422, allocations: 0.7666 MB / 1.462 GB, free: 1.562 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003315/1.425, allocations: 1.972 MB / 1.464 GB, free: 15.59 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/1.426, allocations: 0.4915 MB / 1.465 GB, free: 15.08 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/1.43, allocations: 1.129 MB / 1.466 GB, free: 13.96 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/1.431, allocations: 0.6209 MB / 1.467 GB, free: 13.34 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002003/1.431, allocations: 72 kB / 1.467 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/1.434, allocations: 1.457 MB / 1.468 GB, free: 11.81 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004928/1.435, allocations: 291.2 kB / 1.468 GB, free: 11.53 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008638/1.436, allocations: 418.1 kB / 1.469 GB, free: 11.12 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003726/1.439, allocations: 1.482 MB / 1.47 GB, free: 9.633 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/1.439, allocations: 0 / 1.47 GB, free: 9.633 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.463e-06/1.439, allocations: 0 / 1.47 GB, free: 9.633 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.668e-05/1.439, allocations: 0 / 1.47 GB, free: 9.633 MB / 1.154 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.002745/1.442, allocations: 1.124 MB / 1.471 GB, free: 8.457 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.442, allocations: 8.031 kB / 1.471 GB, free: 8.449 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/1.444, allocations: 207.3 kB / 1.471 GB, free: 8.246 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/1.445, allocations: 0.6149 MB / 1.472 GB, free: 7.59 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/1.445, allocations: 41.31 kB / 1.472 GB, free: 7.551 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.445, allocations: 56 kB / 1.472 GB, free: 7.496 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/1.447, allocations: 0.6167 MB / 1.473 GB, free: 6.863 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/1.447, allocations: 3.938 kB / 1.473 GB, free: 6.859 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-05/1.447, allocations: 24 kB / 1.473 GB, free: 6.836 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/1.447, allocations: 21.31 kB / 1.473 GB, free: 6.816 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009297/1.448, allocations: 0.493 MB / 1.473 GB, free: 6.32 MB / 1.154 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.00376/1.451, allocations: 2.412 MB / 1.476 GB, free: 3.699 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/1.452, allocations: 350.7 kB / 1.476 GB, free: 3.348 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/1.452, allocations: 192.8 kB / 1.476 GB, free: 3.156 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/1.453, allocations: 303.2 kB / 1.476 GB, free: 2.805 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/1.453, allocations: 42.56 kB / 1.476 GB, free: 2.754 MB / 1.154 GB Notification: Performance of pre-optimization done (n=36): time 2.224e-06/1.453, allocations: 0 / 1.476 GB, free: 2.754 MB / 1.154 GB Notification: Performance of matching and sorting (n=36): time 0.001333/1.454, allocations: 0.5567 MB / 1.477 GB, free: 2.191 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/1.454, allocations: 55.41 kB / 1.477 GB, free: 2.125 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/1.455, allocations: 0.5027 MB / 1.478 GB, free: 1.609 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/1.455, allocations: 33.7 kB / 1.478 GB, free: 1.57 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/1.455, allocations: 324.4 kB / 1.478 GB, free: 1.25 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/1.456, allocations: 138.8 kB / 1.478 GB, free: 1.113 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/1.456, allocations: 82.12 kB / 1.478 GB, free: 1.027 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001893/1.456, allocations: 362.8 kB / 1.478 GB, free: 0.6641 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/1.456, allocations: 150.5 kB / 1.479 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/1.457, allocations: 267.7 kB / 1.479 GB, free: 216 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006497/1.457, allocations: 402.3 kB / 1.479 GB, free: 15.79 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.457, allocations: 0 / 1.479 GB, free: 15.79 MB / 1.17 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008906/1.458, allocations: 497.6 kB / 1.48 GB, free: 15.29 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.458, allocations: 6.031 kB / 1.48 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.458, allocations: 4.062 kB / 1.48 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/1.458, allocations: 8 kB / 1.48 GB, free: 15.28 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/1.459, allocations: 107.8 kB / 1.48 GB, free: 15.17 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004927/1.459, allocations: 0.5938 MB / 1.48 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/1.46, allocations: 47.91 kB / 1.48 GB, free: 14.51 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/1.46, allocations: 16 kB / 1.48 GB, free: 14.49 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004916/1.46, allocations: 332.8 kB / 1.481 GB, free: 14.16 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003522/1.461, allocations: 255.4 kB / 1.481 GB, free: 13.88 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006102/1.461, allocations: 404.3 kB / 1.481 GB, free: 13.45 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.466e-06/1.461, allocations: 0 / 1.481 GB, free: 13.45 MB / 1.17 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007991/1.462, allocations: 485.1 kB / 1.482 GB, free: 12.97 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.462, allocations: 8.281 kB / 1.482 GB, free: 12.96 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.462, allocations: 11.88 kB / 1.482 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.102e-06/1.462, allocations: 8 kB / 1.482 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/1.463, allocations: 87.89 kB / 1.482 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/1.463, allocations: 4 kB / 1.482 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/1.463, allocations: 31.81 kB / 1.482 GB, free: 12.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/1.463, allocations: 16 kB / 1.482 GB, free: 12.81 MB / 1.17 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.0002026/1.463, allocations: 213.5 kB / 1.482 GB, free: 12.59 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/1.463, allocations: 67.56 kB / 1.482 GB, free: 12.53 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008093/1.464, allocations: 459.3 kB / 1.483 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.464, allocations: 4 kB / 1.483 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.464, allocations: 0 / 1.483 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000716/1.465, allocations: 0.6533 MB / 1.483 GB, free: 11.33 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/1.467, allocations: 1.211 MB / 1.485 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.467, allocations: 0 / 1.485 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005052/1.467, allocations: 91.89 kB / 1.485 GB, free: 9.953 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/1.467, allocations: 4 kB / 1.485 GB, free: 9.949 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/1.467, allocations: 8 kB / 1.485 GB, free: 9.941 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004503/1.468, allocations: 0.5979 MB / 1.485 GB, free: 9.32 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.468, allocations: 0 / 1.485 GB, free: 9.32 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/1.469, allocations: 0.7206 MB / 1.486 GB, free: 8.559 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/1.469, allocations: 176.7 kB / 1.486 GB, free: 8.367 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/1.47, allocations: 15.94 kB / 1.486 GB, free: 8.352 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/1.47, allocations: 11.98 kB / 1.486 GB, free: 8.34 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/1.47, allocations: 27.97 kB / 1.486 GB, free: 8.312 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/1.47, allocations: 16 kB / 1.486 GB, free: 8.297 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005603/1.471, allocations: 358.8 kB / 1.487 GB, free: 7.949 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.11e-07/1.471, allocations: 3.938 kB / 1.487 GB, free: 7.945 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001243/1.472, allocations: 347.3 kB / 1.487 GB, free: 7.605 MB / 1.17 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.0006683/1.473, allocations: 198.5 kB / 1.487 GB, free: 7.41 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0016/1.474, allocations: 0.5675 MB / 1.488 GB, free: 6.844 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.958e-05/1.474, allocations: 4 kB / 1.488 GB, free: 6.84 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0004215/1.475, allocations: 179.7 kB / 1.488 GB, free: 6.664 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/1.477, allocations: 364.4 kB / 1.488 GB, free: 6.312 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/1.48, allocations: 1.366 MB / 1.489 GB, free: 4.891 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007659/1.481, allocations: 0.9453 MB / 1.49 GB, free: 3.918 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007453/1.482, allocations: 204.9 kB / 1.491 GB, free: 3.719 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/1.482, allocations: 47.44 kB / 1.491 GB, free: 3.672 MB / 1.17 GB Notification: Performance of SimCode: time 1.513e-06/1.482, allocations: 0 / 1.491 GB, free: 3.672 MB / 1.17 GB Notification: Performance of Templates: time 0.02518/1.507, allocations: 12.11 MB / 1.502 GB, free: 7.723 MB / 1.186 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 -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/jenkins/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 [Calling sys.exit(0), Time elapsed: 10.247131056152284]