Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.Density.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.001381/0.001381, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001348/0.001348, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.422/1.422, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437.1 MB / 0.7178 GB, free: 4.449 MB / 0.5606 GB " [Timeout remaining time 177] 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.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Density") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.91 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3311, allocations: 151.6 MB / 1.176 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.943/1.274, allocations: 185.1 MB / 1.357 GB, free: 6.301 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01284/1.287, allocations: 6.982 MB / 1.363 GB, free: 1.352 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/1.289, allocations: 29.19 kB / 1.363 GB, free: 1.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/1.29, allocations: 399.9 kB / 1.364 GB, free: 1.105 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004941/1.295, allocations: 1.442 MB / 1.365 GB, free: 332 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003941/1.299, allocations: 1.17 MB / 1.366 GB, free: 15.72 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004018/1.303, allocations: 1.947 MB / 1.368 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/1.304, allocations: 0.6519 MB / 1.369 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/1.307, allocations: 0.8225 MB / 1.37 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/1.309, allocations: 0.5929 MB / 1.37 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/1.309, allocations: 68.62 kB / 1.37 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005478/1.315, allocations: 1.925 MB / 1.372 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000617/1.315, allocations: 298.3 kB / 1.373 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009356/1.316, allocations: 431.9 kB / 1.373 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005548/1.322, allocations: 1.769 MB / 1.375 GB, free: 11.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.322, allocations: 5.031 kB / 1.375 GB, free: 11.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.984e-06/1.322, allocations: 0 / 1.375 GB, free: 11.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.713e-05/1.322, allocations: 0 / 1.375 GB, free: 11.91 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002613/1.325, allocations: 1.184 MB / 1.376 GB, free: 10.96 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.325, allocations: 9.688 kB / 1.376 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/1.327, allocations: 278.3 kB / 1.376 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/1.328, allocations: 0.6211 MB / 1.377 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/1.328, allocations: 45.22 kB / 1.377 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/1.328, allocations: 56.52 kB / 1.377 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/1.33, allocations: 0.6311 MB / 1.377 GB, free: 9.902 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/1.33, allocations: 3.938 kB / 1.377 GB, free: 9.898 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/1.33, allocations: 38.09 kB / 1.377 GB, free: 9.867 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/1.33, allocations: 18.12 kB / 1.377 GB, free: 9.867 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009414/1.331, allocations: 0.5154 MB / 1.378 GB, free: 9.621 MB / 1.045 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.003843/1.335, allocations: 2.456 MB / 1.38 GB, free: 7.469 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007784/1.335, allocations: 368.7 kB / 1.381 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004857/1.336, allocations: 245 kB / 1.381 GB, free: 7.16 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006729/1.337, allocations: 305 kB / 1.381 GB, free: 6.852 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/1.337, allocations: 37.86 kB / 1.381 GB, free: 6.809 MB / 1.045 GB Notification: Performance of pre-optimization done (n=39): time 3.797e-06/1.337, allocations: 4 kB / 1.381 GB, free: 6.805 MB / 1.045 GB Notification: Performance of matching and sorting (n=39): time 0.001588/1.338, allocations: 0.6174 MB / 1.382 GB, free: 6.496 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/1.338, allocations: 55.53 kB / 1.382 GB, free: 6.434 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/1.339, allocations: 0.4935 MB / 1.382 GB, free: 6.133 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/1.339, allocations: 32.45 kB / 1.382 GB, free: 6.098 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/1.339, allocations: 338.3 kB / 1.383 GB, free: 5.801 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/1.339, allocations: 144.7 kB / 1.383 GB, free: 5.676 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/1.34, allocations: 87.2 kB / 1.383 GB, free: 5.621 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002976/1.34, allocations: 374.2 kB / 1.383 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/1.34, allocations: 169.9 kB / 1.384 GB, free: 5.172 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/1.341, allocations: 285.4 kB / 1.384 GB, free: 4.961 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/1.341, allocations: 458.2 kB / 1.384 GB, free: 4.676 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.341, allocations: 3.938 kB / 1.384 GB, free: 4.672 MB / 1.045 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009452/1.342, allocations: 0.5243 MB / 1.385 GB, free: 4.398 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.342, allocations: 8.75 kB / 1.385 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/1.342, allocations: 2.906 kB / 1.385 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/1.343, allocations: 9.156 kB / 1.385 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/1.343, allocations: 135.7 kB / 1.385 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005052/1.344, allocations: 0.5894 MB / 1.385 GB, free: 3.758 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006052/1.344, allocations: 58.06 kB / 1.386 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/1.344, allocations: 17.59 kB / 1.386 GB, free: 3.715 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006064/1.345, allocations: 352.8 kB / 1.386 GB, free: 3.492 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004181/1.345, allocations: 281.9 kB / 1.386 GB, free: 3.281 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007111/1.346, allocations: 451.8 kB / 1.387 GB, free: 3 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/1.346, allocations: 1.406 kB / 1.387 GB, free: 3 MB / 1.045 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008934/1.347, allocations: 0.522 MB / 1.387 GB, free: 2.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/1.347, allocations: 5.438 kB / 1.387 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/1.347, allocations: 2.25 kB / 1.387 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/1.347, allocations: 8.906 kB / 1.387 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/1.348, allocations: 118.4 kB / 1.387 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.348, allocations: 9.078 kB / 1.387 GB, free: 2.691 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/1.348, allocations: 41.2 kB / 1.387 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/1.348, allocations: 23.19 kB / 1.387 GB, free: 2.656 MB / 1.045 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 (53): * Single equations (assignments): 52 * 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.000209/1.348, allocations: 208.1 kB / 1.387 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/1.349, allocations: 60.22 kB / 1.388 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009518/1.35, allocations: 488.2 kB / 1.388 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/1.35, allocations: 8.969 kB / 1.388 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/1.35, allocations: 4.859 kB / 1.388 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008803/1.35, allocations: 0.7052 MB / 1.389 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/1.353, allocations: 1.274 MB / 1.39 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.353, allocations: 2.219 kB / 1.39 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/1.353, allocations: 121.9 kB / 1.39 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/1.353, allocations: 12.62 kB / 1.39 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/1.353, allocations: 10.38 kB / 1.39 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004209/1.354, allocations: 0.5929 MB / 1.391 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.354, allocations: 5.719 kB / 1.391 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/1.355, allocations: 0.8044 MB / 1.391 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/1.355, allocations: 180.6 kB / 1.392 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/1.355, allocations: 25.83 kB / 1.392 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/1.356, allocations: 14.67 kB / 1.392 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/1.356, allocations: 28.97 kB / 1.392 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/1.356, allocations: 16.56 kB / 1.392 GB, free: 15.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004527/1.356, allocations: 350.7 kB / 1.392 GB, free: 15.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/1.356, allocations: 0 / 1.392 GB, free: 15.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001138/1.358, allocations: 371 kB / 1.392 GB, free: 14.95 MB / 1.061 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,senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * 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.000566/1.358, allocations: 214.8 kB / 1.393 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001493/1.36, allocations: 0.6788 MB / 1.393 GB, free: 14.49 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/1.36, allocations: 0 / 1.393 GB, free: 14.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004283/1.36, allocations: 223.9 kB / 1.393 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/1.362, allocations: 359.8 kB / 1.394 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/1.364, allocations: 1.439 MB / 1.395 GB, free: 13.22 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006872/1.365, allocations: 0.9463 MB / 1.396 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/1.365, allocations: 55.78 kB / 1.396 GB, free: 12.39 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/1.365, allocations: 0 / 1.396 GB, free: 12.39 MB / 1.061 GB Notification: Performance of Templates: time 0.02054/1.386, allocations: 13.02 MB / 1.409 GB, free: 4.551 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Density.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Density.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: 13.710991474916227]