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.001864/0.001864, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002453/0.002453, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.633/1.633, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.555/2.555, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 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.001957/0.001957, allocations: 67.89 kB / 1.059 GB, free: 348 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.35, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9724/1.322, allocations: 186 MB / 1.398 GB, free: 12.26 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0116/1.334, allocations: 7.027 MB / 1.405 GB, free: 6.586 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/1.335, allocations: 26.53 kB / 1.405 GB, free: 6.578 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/1.336, allocations: 425.2 kB / 1.405 GB, free: 6.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003979/1.34, allocations: 1.505 MB / 1.407 GB, free: 5.082 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003538/1.344, allocations: 1.188 MB / 1.408 GB, free: 4.199 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003078/1.347, allocations: 1.959 MB / 1.41 GB, free: 3.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008937/1.348, allocations: 0.5043 MB / 1.41 GB, free: 2.707 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/1.35, allocations: 0.8444 MB / 1.411 GB, free: 2.207 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/1.351, allocations: 0.6348 MB / 1.412 GB, free: 1.832 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/1.351, allocations: 68.66 kB / 1.412 GB, free: 1.832 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004229/1.356, allocations: 2.038 MB / 1.414 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000417/1.356, allocations: 303.9 kB / 1.414 GB, free: 460 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005857/1.357, allocations: 429 kB / 1.414 GB, free: 188 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00358/1.36, allocations: 1.774 MB / 1.416 GB, free: 15.09 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.36, allocations: 0 / 1.416 GB, free: 15.09 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.293e-06/1.36, allocations: 0 / 1.416 GB, free: 15.09 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.174e-05/1.36, allocations: 0 / 1.416 GB, free: 15.09 MB / 1.092 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.002006/1.362, allocations: 1.191 MB / 1.417 GB, free: 14.14 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/1.362, allocations: 6.938 kB / 1.417 GB, free: 14.14 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/1.364, allocations: 279 kB / 1.417 GB, free: 14.01 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/1.365, allocations: 0.6147 MB / 1.418 GB, free: 13.51 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/1.365, allocations: 44.25 kB / 1.418 GB, free: 13.49 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.249e-05/1.365, allocations: 59.62 kB / 1.418 GB, free: 13.46 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/1.366, allocations: 0.6341 MB / 1.419 GB, free: 13.08 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/1.366, allocations: 0 / 1.419 GB, free: 13.08 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/1.367, allocations: 31.59 kB / 1.419 GB, free: 13.06 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/1.367, allocations: 20.41 kB / 1.419 GB, free: 13.05 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00092/1.368, allocations: 0.5213 MB / 1.419 GB, free: 12.8 MB / 1.092 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.003158/1.371, allocations: 2.455 MB / 1.422 GB, free: 10.65 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/1.371, allocations: 351.3 kB / 1.422 GB, free: 10.46 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/1.372, allocations: 225.4 kB / 1.422 GB, free: 10.36 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006307/1.372, allocations: 313.1 kB / 1.423 GB, free: 10.04 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/1.372, allocations: 33.95 kB / 1.423 GB, free: 10 MB / 1.092 GB Notification: Performance of pre-optimization done (n=39): time 1.734e-06/1.372, allocations: 0 / 1.423 GB, free: 10 MB / 1.092 GB Notification: Performance of matching and sorting (n=39): time 0.001413/1.374, allocations: 0.6183 MB / 1.423 GB, free: 9.691 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/1.374, allocations: 58.09 kB / 1.423 GB, free: 9.625 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005742/1.374, allocations: 0.4933 MB / 1.424 GB, free: 9.324 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/1.374, allocations: 36.48 kB / 1.424 GB, free: 9.285 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/1.375, allocations: 326.9 kB / 1.424 GB, free: 9 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/1.375, allocations: 148.6 kB / 1.424 GB, free: 8.871 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/1.375, allocations: 88.17 kB / 1.424 GB, free: 8.816 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.375, allocations: 371.7 kB / 1.425 GB, free: 8.457 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/1.376, allocations: 174.2 kB / 1.425 GB, free: 8.363 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/1.376, allocations: 283.4 kB / 1.425 GB, free: 8.156 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007335/1.377, allocations: 455.6 kB / 1.426 GB, free: 7.871 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.377, allocations: 0 / 1.426 GB, free: 7.871 MB / 1.092 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009168/1.378, allocations: 0.5272 MB / 1.426 GB, free: 7.598 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.378, allocations: 5.031 kB / 1.426 GB, free: 7.598 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.378, allocations: 5.656 kB / 1.426 GB, free: 7.598 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.378, allocations: 3.031 kB / 1.426 GB, free: 7.598 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/1.378, allocations: 136 kB / 1.426 GB, free: 7.559 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004733/1.379, allocations: 0.5951 MB / 1.427 GB, free: 6.957 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/1.379, allocations: 43.12 kB / 1.427 GB, free: 6.93 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/1.379, allocations: 19.62 kB / 1.427 GB, free: 6.926 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005434/1.38, allocations: 353.9 kB / 1.427 GB, free: 6.703 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004065/1.38, allocations: 284.7 kB / 1.427 GB, free: 6.492 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007152/1.381, allocations: 455.3 kB / 1.428 GB, free: 6.207 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/1.381, allocations: 1.562 kB / 1.428 GB, free: 6.207 MB / 1.092 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000923/1.382, allocations: 0.5192 MB / 1.428 GB, free: 5.746 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.382, allocations: 7.984 kB / 1.428 GB, free: 5.738 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.382, allocations: 4.5 kB / 1.428 GB, free: 5.734 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/1.382, allocations: 7.938 kB / 1.428 GB, free: 5.727 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/1.383, allocations: 124.1 kB / 1.429 GB, free: 5.605 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.383, allocations: 4 kB / 1.429 GB, free: 5.602 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/1.383, allocations: 41.27 kB / 1.429 GB, free: 5.562 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/1.383, allocations: 20 kB / 1.429 GB, free: 5.543 MB / 1.092 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.000197/1.383, allocations: 208.4 kB / 1.429 GB, free: 5.332 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/1.383, allocations: 67.55 kB / 1.429 GB, free: 5.266 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009773/1.384, allocations: 498.5 kB / 1.429 GB, free: 4.77 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/1.384, allocations: 4 kB / 1.429 GB, free: 4.766 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.384, allocations: 0 / 1.429 GB, free: 4.766 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009483/1.385, allocations: 0.6988 MB / 1.43 GB, free: 3.98 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/1.388, allocations: 1.281 MB / 1.431 GB, free: 2.621 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.388, allocations: 0.8125 kB / 1.431 GB, free: 2.621 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006503/1.388, allocations: 132 kB / 1.431 GB, free: 2.492 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.772e-05/1.388, allocations: 4 kB / 1.431 GB, free: 2.488 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/1.388, allocations: 15.94 kB / 1.431 GB, free: 2.473 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004297/1.389, allocations: 0.5937 MB / 1.432 GB, free: 1.855 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.389, allocations: 7.625 kB / 1.432 GB, free: 1.852 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/1.39, allocations: 0.8073 MB / 1.433 GB, free: 1.008 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/1.39, allocations: 188.7 kB / 1.433 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/1.39, allocations: 11.94 kB / 1.433 GB, free: 0.793 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/1.391, allocations: 15.98 kB / 1.433 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/1.391, allocations: 28 kB / 1.433 GB, free: 0.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/1.391, allocations: 23.98 kB / 1.433 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004795/1.391, allocations: 350.8 kB / 1.433 GB, free: 396 kB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/1.391, allocations: 0 / 1.433 GB, free: 396 kB / 1.092 GB Notification: Performance of remove unused functions: time 0.001137/1.393, allocations: 363.3 kB / 1.434 GB, free: 32 kB / 1.092 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.0005811/1.393, allocations: 209.1 kB / 1.434 GB, free: 15.83 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001532/1.395, allocations: 0.6372 MB / 1.435 GB, free: 15.19 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.395, allocations: 0 / 1.435 GB, free: 15.19 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004266/1.395, allocations: 211.9 kB / 1.435 GB, free: 14.98 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/1.397, allocations: 358.9 kB / 1.435 GB, free: 14.64 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/1.4, allocations: 1.428 MB / 1.437 GB, free: 13.17 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/1.4, allocations: 0.9457 MB / 1.437 GB, free: 12.2 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006595/1.401, allocations: 204.9 kB / 1.438 GB, free: 12 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/1.401, allocations: 51.42 kB / 1.438 GB, free: 11.95 MB / 1.107 GB Notification: Performance of SimCode: time 1.112e-06/1.401, allocations: 4 kB / 1.438 GB, free: 11.94 MB / 1.107 GB Notification: Performance of Templates: time 0.02366/1.425, allocations: 12.72 MB / 1.45 GB, free: 15.43 MB / 1.123 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.879112045280635]