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.001872/0.001872, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002229/0.002229, allocations: 196.6 kB / 22.17 MB, free: 5.656 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.446/1.446, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.573/2.573, allocations: 443.5 MB / 0.732 GB, free: 12.54 MB / 0.5919 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.002001/0.002001, allocations: 63.91 kB / 1.061 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7258/0.7278, allocations: 160.7 MB / 1.218 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2303/0.958, allocations: 186 MB / 1.4 GB, free: 12.89 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.9692, allocations: 7.053 MB / 1.407 GB, free: 5.828 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009204/0.9701, allocations: 27.81 kB / 1.407 GB, free: 5.801 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.9713, allocations: 417.5 kB / 1.407 GB, free: 5.391 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003858/0.9752, allocations: 1.501 MB / 1.409 GB, free: 3.883 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.9783, allocations: 1.19 MB / 1.41 GB, free: 2.695 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002873/0.9812, allocations: 1.952 MB / 1.412 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008669/0.9821, allocations: 0.4969 MB / 1.412 GB, free: 236 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.9838, allocations: 0.8523 MB / 1.413 GB, free: 15.38 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.9853, allocations: 0.6398 MB / 1.414 GB, free: 14.73 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.9854, allocations: 68 kB / 1.414 GB, free: 14.67 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003923/0.9894, allocations: 2.026 MB / 1.416 GB, free: 12.64 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003766/0.9897, allocations: 307.1 kB / 1.416 GB, free: 12.34 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005571/0.9903, allocations: 430 kB / 1.416 GB, free: 11.91 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003094/0.9934, allocations: 1.768 MB / 1.418 GB, free: 10.14 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9934, allocations: 0 / 1.418 GB, free: 10.14 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9934, allocations: 0 / 1.418 GB, free: 10.14 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.9934, allocations: 0 / 1.418 GB, free: 10.14 MB / 1.123 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.002105/0.9955, allocations: 1.194 MB / 1.419 GB, free: 8.895 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.9956, allocations: 8.625 kB / 1.419 GB, free: 8.887 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.9975, allocations: 279.2 kB / 1.42 GB, free: 8.613 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.9987, allocations: 0.6149 MB / 1.42 GB, free: 7.957 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.9987, allocations: 37.31 kB / 1.42 GB, free: 7.918 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.9988, allocations: 63.95 kB / 1.42 GB, free: 7.855 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/1, allocations: 0.6401 MB / 1.421 GB, free: 7.199 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/1, allocations: 3.938 kB / 1.421 GB, free: 7.195 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/1, allocations: 24 kB / 1.421 GB, free: 7.172 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/1, allocations: 17.31 kB / 1.421 GB, free: 7.156 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/1.001, allocations: 0.5204 MB / 1.421 GB, free: 6.633 MB / 1.123 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.003564/1.005, allocations: 2.457 MB / 1.424 GB, free: 3.961 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/1.005, allocations: 351.4 kB / 1.424 GB, free: 3.609 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/1.006, allocations: 227 kB / 1.424 GB, free: 3.387 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006241/1.006, allocations: 307.6 kB / 1.425 GB, free: 3.031 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/1.006, allocations: 34.89 kB / 1.425 GB, free: 2.988 MB / 1.123 GB Notification: Performance of pre-optimization done (n=39): time 3.046e-06/1.006, allocations: 4 kB / 1.425 GB, free: 2.984 MB / 1.123 GB Notification: Performance of matching and sorting (n=39): time 0.001556/1.008, allocations: 0.6199 MB / 1.425 GB, free: 2.359 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/1.008, allocations: 59.41 kB / 1.425 GB, free: 2.289 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006517/1.009, allocations: 0.4911 MB / 1.426 GB, free: 1.789 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/1.009, allocations: 33.7 kB / 1.426 GB, free: 1.75 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/1.009, allocations: 337 kB / 1.426 GB, free: 1.418 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/1.009, allocations: 150.7 kB / 1.426 GB, free: 1.27 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/1.009, allocations: 82.09 kB / 1.426 GB, free: 1.184 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.01, allocations: 374.7 kB / 1.427 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/1.01, allocations: 178.5 kB / 1.427 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/1.01, allocations: 275.4 kB / 1.427 GB, free: 332 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/1.011, allocations: 453 kB / 1.428 GB, free: 15.85 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.922e-06/1.011, allocations: 4 kB / 1.428 GB, free: 15.85 MB / 1.139 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001043/1.012, allocations: 0.5245 MB / 1.428 GB, free: 15.32 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.012, allocations: 12.06 kB / 1.428 GB, free: 15.3 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.012, allocations: 0 / 1.428 GB, free: 15.3 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.012, allocations: 4 kB / 1.428 GB, free: 15.3 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/1.013, allocations: 131.8 kB / 1.428 GB, free: 15.17 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004523/1.014, allocations: 0.5977 MB / 1.429 GB, free: 14.55 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/1.014, allocations: 55.64 kB / 1.429 GB, free: 14.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/1.014, allocations: 16 kB / 1.429 GB, free: 14.48 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000606/1.015, allocations: 354.3 kB / 1.429 GB, free: 14.13 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004468/1.015, allocations: 283.5 kB / 1.43 GB, free: 13.81 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007966/1.016, allocations: 452.3 kB / 1.43 GB, free: 13.34 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/1.016, allocations: 0 / 1.43 GB, free: 13.34 MB / 1.139 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001038/1.017, allocations: 0.5204 MB / 1.431 GB, free: 12.81 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.017, allocations: 7.938 kB / 1.431 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.017, allocations: 4 kB / 1.431 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/1.017, allocations: 7.938 kB / 1.431 GB, free: 12.79 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/1.018, allocations: 124.3 kB / 1.431 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.018, allocations: 4 kB / 1.431 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/1.018, allocations: 39.83 kB / 1.431 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/1.018, allocations: 19.98 kB / 1.431 GB, free: 12.61 MB / 1.139 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.0002249/1.019, allocations: 208.4 kB / 1.431 GB, free: 12.4 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/1.019, allocations: 63.56 kB / 1.431 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/1.02, allocations: 490.6 kB / 1.431 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/1.02, allocations: 4 kB / 1.431 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.02, allocations: 3.938 kB / 1.431 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009412/1.021, allocations: 0.7027 MB / 1.432 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/1.023, allocations: 1.281 MB / 1.433 GB, free: 9.684 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.023, allocations: 4 kB / 1.433 GB, free: 9.68 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/1.024, allocations: 131.9 kB / 1.434 GB, free: 9.551 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.024, allocations: 4 kB / 1.434 GB, free: 9.547 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/1.024, allocations: 8 kB / 1.434 GB, free: 9.539 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004074/1.024, allocations: 0.6015 MB / 1.434 GB, free: 8.914 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.024, allocations: 4.031 kB / 1.434 GB, free: 8.91 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/1.025, allocations: 0.8035 MB / 1.435 GB, free: 8.07 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/1.026, allocations: 180.7 kB / 1.435 GB, free: 7.875 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-05/1.026, allocations: 15.94 kB / 1.435 GB, free: 7.859 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/1.026, allocations: 15.98 kB / 1.435 GB, free: 7.844 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/1.026, allocations: 35.89 kB / 1.435 GB, free: 7.809 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/1.026, allocations: 12 kB / 1.435 GB, free: 7.797 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004697/1.027, allocations: 354.8 kB / 1.435 GB, free: 7.453 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.027, allocations: 0 / 1.435 GB, free: 7.453 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001021/1.028, allocations: 367.3 kB / 1.436 GB, free: 7.094 MB / 1.139 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.0005218/1.028, allocations: 202.4 kB / 1.436 GB, free: 6.891 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001597/1.03, allocations: 0.6401 MB / 1.437 GB, free: 6.25 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.03, allocations: 1.125 kB / 1.437 GB, free: 6.25 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000455/1.03, allocations: 220.1 kB / 1.437 GB, free: 6.035 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.032, allocations: 362.2 kB / 1.437 GB, free: 5.691 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/1.035, allocations: 1.417 MB / 1.439 GB, free: 4.227 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/1.035, allocations: 0.9457 MB / 1.44 GB, free: 3.254 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006301/1.036, allocations: 212.8 kB / 1.44 GB, free: 3.047 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/1.036, allocations: 51.44 kB / 1.44 GB, free: 2.996 MB / 1.139 GB Notification: Performance of SimCode: time 6.01e-07/1.036, allocations: 0 / 1.44 GB, free: 2.996 MB / 1.139 GB Notification: Performance of Templates: time 0.02374/1.06, allocations: 12.73 MB / 1.452 GB, free: 6.453 MB / 1.154 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 -s gbode -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: 8.844885514117777]