Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001972/0.001972, allocations: 106 kB / 18.84 MB, free: 3.023 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.002219/0.002219, allocations: 191.9 kB / 22.1 MB, free: 4.227 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.548/1.548, allocations: 225.6 MB / 250.8 MB, free: 2.918 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.945/2.945, allocations: 495.8 MB / 0.7831 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Fluid.Sensors.Examples.Density") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 71.88 kB / 1.137 GB, free: 12.23 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.087, allocations: 173.6 MB / 1.307 GB, free: 33.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2638/1.351, allocations: 184.1 MB / 1.486 GB, free: 12 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01209/1.363, allocations: 6.998 MB / 1.493 GB, free: 6.352 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/1.365, allocations: 45.03 kB / 1.493 GB, free: 6.324 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/1.366, allocations: 413.2 kB / 1.494 GB, free: 5.988 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004552/1.37, allocations: 1.528 MB / 1.495 GB, free: 4.82 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003737/1.374, allocations: 1.208 MB / 1.496 GB, free: 3.918 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003546/1.378, allocations: 2.005 MB / 1.498 GB, free: 2.73 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/1.379, allocations: 0.4924 MB / 1.499 GB, free: 2.383 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/1.382, allocations: 1.086 MB / 1.5 GB, free: 1.727 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/1.383, allocations: 0.6226 MB / 1.501 GB, free: 1.355 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/1.384, allocations: 67.75 kB / 1.501 GB, free: 1.355 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0041/1.388, allocations: 1.596 MB / 1.502 GB, free: 484 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004479/1.388, allocations: 297.4 kB / 1.502 GB, free: 272 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006817/1.389, allocations: 434 kB / 1.503 GB, free: 15.84 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003725/1.393, allocations: 1.701 MB / 1.505 GB, free: 14.14 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.393, allocations: 0 / 1.505 GB, free: 14.14 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.653e-06/1.393, allocations: 0 / 1.505 GB, free: 14.14 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.328e-05/1.393, allocations: 0 / 1.505 GB, free: 14.14 MB / 1.186 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.002372/1.395, allocations: 1.119 MB / 1.506 GB, free: 12.98 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.395, allocations: 8.031 kB / 1.506 GB, free: 12.98 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/1.397, allocations: 279.2 kB / 1.506 GB, free: 12.7 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/1.398, allocations: 0.5504 MB / 1.506 GB, free: 12.12 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/1.398, allocations: 37.31 kB / 1.506 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/1.398, allocations: 56 kB / 1.507 GB, free: 12.03 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/1.4, allocations: 0.6362 MB / 1.507 GB, free: 11.38 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/1.4, allocations: 7.875 kB / 1.507 GB, free: 11.37 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.616e-05/1.4, allocations: 20 kB / 1.507 GB, free: 11.35 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/1.4, allocations: 21.31 kB / 1.507 GB, free: 11.33 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/1.401, allocations: 0.5165 MB / 1.508 GB, free: 10.81 MB / 1.186 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.003738/1.405, allocations: 2.485 MB / 1.51 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/1.405, allocations: 347.4 kB / 1.51 GB, free: 7.758 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/1.406, allocations: 223.6 kB / 1.511 GB, free: 7.539 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005139/1.406, allocations: 80.23 kB / 1.511 GB, free: 7.461 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/1.406, allocations: 34.89 kB / 1.511 GB, free: 7.418 MB / 1.186 GB Notification: Performance of pre-optimization done (n=39): time 2.465e-06/1.406, allocations: 0 / 1.511 GB, free: 7.418 MB / 1.186 GB Notification: Performance of matching and sorting (n=39): time 0.001621/1.408, allocations: 0.6229 MB / 1.511 GB, free: 6.789 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/1.408, allocations: 55.41 kB / 1.511 GB, free: 6.723 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007085/1.409, allocations: 0.4911 MB / 1.512 GB, free: 6.219 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/1.409, allocations: 33.7 kB / 1.512 GB, free: 6.18 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/1.409, allocations: 333 kB / 1.512 GB, free: 5.852 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/1.409, allocations: 142.8 kB / 1.512 GB, free: 5.711 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/1.409, allocations: 90.08 kB / 1.512 GB, free: 5.613 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002473/1.41, allocations: 374.7 kB / 1.513 GB, free: 5.238 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/1.41, allocations: 178.5 kB / 1.513 GB, free: 5.062 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/1.411, allocations: 286.1 kB / 1.513 GB, free: 4.75 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008199/1.411, allocations: 457.5 kB / 1.514 GB, free: 4.273 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/1.411, allocations: 4 kB / 1.514 GB, free: 4.27 MB / 1.186 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001047/1.412, allocations: 0.5244 MB / 1.514 GB, free: 3.738 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.412, allocations: 4 kB / 1.514 GB, free: 3.734 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.412, allocations: 4 kB / 1.514 GB, free: 3.73 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/1.412, allocations: 4 kB / 1.514 GB, free: 3.727 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/1.413, allocations: 131.8 kB / 1.514 GB, free: 3.598 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005337/1.414, allocations: 0.6018 MB / 1.515 GB, free: 2.973 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/1.414, allocations: 55.64 kB / 1.515 GB, free: 2.918 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/1.414, allocations: 19.94 kB / 1.515 GB, free: 2.898 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005979/1.415, allocations: 352.8 kB / 1.515 GB, free: 2.547 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000488/1.415, allocations: 287.4 kB / 1.516 GB, free: 2.227 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007872/1.416, allocations: 441.6 kB / 1.516 GB, free: 1.766 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/1.416, allocations: 11.98 kB / 1.516 GB, free: 1.754 MB / 1.186 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009785/1.417, allocations: 0.5204 MB / 1.517 GB, free: 1.227 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.417, allocations: 10.02 kB / 1.517 GB, free: 1.219 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.417, allocations: 4 kB / 1.517 GB, free: 1.215 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/1.417, allocations: 8.219 kB / 1.517 GB, free: 1.207 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/1.418, allocations: 123.8 kB / 1.517 GB, free: 1.086 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.418, allocations: 4 kB / 1.517 GB, free: 1.082 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/1.418, allocations: 39.83 kB / 1.517 GB, free: 1.043 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/1.418, allocations: 16 kB / 1.517 GB, free: 1.027 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 (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.000215/1.419, allocations: 208.6 kB / 1.517 GB, free: 0.8164 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/1.419, allocations: 75.5 kB / 1.517 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/1.42, allocations: 484 kB / 1.518 GB, free: 268 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.42, allocations: 4 kB / 1.518 GB, free: 264 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.42, allocations: 0 / 1.518 GB, free: 264 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009583/1.421, allocations: 0.7066 MB / 1.518 GB, free: 15.46 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/1.423, allocations: 1.248 MB / 1.519 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.423, allocations: 8.219 kB / 1.519 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/1.424, allocations: 119.8 kB / 1.52 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.424, allocations: 7.938 kB / 1.52 GB, free: 14.01 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/1.424, allocations: 11.98 kB / 1.52 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005157/1.424, allocations: 0.5977 MB / 1.52 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.424, allocations: 4.094 kB / 1.52 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/1.426, allocations: 0.8024 MB / 1.521 GB, free: 12.53 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/1.426, allocations: 103.5 kB / 1.521 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.934e-05/1.426, allocations: 15.94 kB / 1.521 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/1.426, allocations: 24.05 kB / 1.521 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/1.426, allocations: 35.88 kB / 1.521 GB, free: 12.36 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/1.426, allocations: 16 kB / 1.521 GB, free: 12.34 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004455/1.427, allocations: 346.8 kB / 1.521 GB, free: 12 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.427, allocations: 0 / 1.521 GB, free: 12 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001023/1.428, allocations: 367.3 kB / 1.522 GB, free: 11.64 MB / 1.201 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.0005382/1.428, allocations: 208 kB / 1.522 GB, free: 11.44 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001663/1.43, allocations: 0.6409 MB / 1.523 GB, free: 10.8 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.43, allocations: 4.375 kB / 1.523 GB, free: 10.79 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004725/1.431, allocations: 215.7 kB / 1.523 GB, free: 10.58 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/1.432, allocations: 352 kB / 1.523 GB, free: 10.25 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/1.435, allocations: 1.41 MB / 1.525 GB, free: 8.785 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/1.436, allocations: 0.9535 MB / 1.525 GB, free: 7.805 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000661/1.436, allocations: 200.9 kB / 1.526 GB, free: 7.609 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/1.436, allocations: 51.44 kB / 1.526 GB, free: 7.559 MB / 1.201 GB Notification: Performance of SimCode: time 1.383e-06/1.436, allocations: 0 / 1.526 GB, free: 7.559 MB / 1.201 GB Notification: Performance of Templates: time 0.02745/1.464, allocations: 12.88 MB / 1.538 GB, free: 10.86 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Density.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.283307538367808]