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.0018/0.0018, allocations: 110 kB / 18.93 MB, free: 2.945 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.001513/0.001513, allocations: 188.8 kB / 22.23 MB, free: 5.164 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.509/1.509, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: 67.89 kB / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8905/0.8925, allocations: 160.8 MB / 1.218 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2484/1.141, allocations: 186 MB / 1.4 GB, free: 9.672 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01212/1.153, allocations: 7.043 MB / 1.407 GB, free: 2.609 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/1.154, allocations: 39.62 kB / 1.407 GB, free: 2.57 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/1.156, allocations: 421.5 kB / 1.407 GB, free: 2.156 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004363/1.16, allocations: 1.521 MB / 1.409 GB, free: 0.6289 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003737/1.164, allocations: 1.224 MB / 1.41 GB, free: 15.41 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003492/1.167, allocations: 2.005 MB / 1.412 GB, free: 13.4 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009763/1.168, allocations: 0.5014 MB / 1.413 GB, free: 12.88 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/1.17, allocations: 0.8601 MB / 1.413 GB, free: 12.02 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/1.172, allocations: 0.6467 MB / 1.414 GB, free: 11.37 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/1.172, allocations: 75.94 kB / 1.414 GB, free: 11.3 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005181/1.177, allocations: 2.054 MB / 1.416 GB, free: 9.238 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004611/1.177, allocations: 307 kB / 1.416 GB, free: 8.938 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006549/1.178, allocations: 430.1 kB / 1.417 GB, free: 8.516 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003975/1.182, allocations: 1.768 MB / 1.419 GB, free: 6.746 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.182, allocations: 0 / 1.419 GB, free: 6.746 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.823e-06/1.182, allocations: 0 / 1.419 GB, free: 6.746 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.359e-05/1.182, allocations: 7.938 kB / 1.419 GB, free: 6.738 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.002437/1.184, allocations: 1.194 MB / 1.42 GB, free: 5.492 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.184, allocations: 8.031 kB / 1.42 GB, free: 5.484 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/1.187, allocations: 279.2 kB / 1.42 GB, free: 5.211 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/1.188, allocations: 0.6071 MB / 1.421 GB, free: 4.562 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/1.188, allocations: 41.31 kB / 1.421 GB, free: 4.523 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/1.188, allocations: 55.95 kB / 1.421 GB, free: 4.469 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.189, allocations: 0.6479 MB / 1.421 GB, free: 3.805 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/1.189, allocations: 7.922 kB / 1.421 GB, free: 3.797 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/1.189, allocations: 24 kB / 1.421 GB, free: 3.773 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/1.189, allocations: 17.31 kB / 1.421 GB, free: 3.758 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/1.191, allocations: 0.5165 MB / 1.422 GB, free: 3.242 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.0039/1.194, allocations: 2.465 MB / 1.424 GB, free: 0.5586 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/1.195, allocations: 343.5 kB / 1.425 GB, free: 220 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/1.196, allocations: 223.9 kB / 1.425 GB, free: 15.99 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006631/1.196, allocations: 315.5 kB / 1.425 GB, free: 15.63 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/1.196, allocations: 38.89 kB / 1.425 GB, free: 15.59 MB / 1.139 GB Notification: Performance of pre-optimization done (n=39): time 2.454e-06/1.196, allocations: 0 / 1.425 GB, free: 15.59 MB / 1.139 GB Notification: Performance of matching and sorting (n=39): time 0.001563/1.198, allocations: 0.6151 MB / 1.426 GB, free: 14.96 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/1.198, allocations: 55.41 kB / 1.426 GB, free: 14.9 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/1.199, allocations: 0.4989 MB / 1.426 GB, free: 14.39 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/1.199, allocations: 33.7 kB / 1.426 GB, free: 14.35 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/1.199, allocations: 329 kB / 1.427 GB, free: 14.02 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/1.199, allocations: 146.7 kB / 1.427 GB, free: 13.88 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/1.199, allocations: 90.08 kB / 1.427 GB, free: 13.79 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002431/1.2, allocations: 374.7 kB / 1.427 GB, free: 13.41 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/1.2, allocations: 170.5 kB / 1.427 GB, free: 13.24 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/1.2, allocations: 283.4 kB / 1.428 GB, free: 12.93 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008331/1.201, allocations: 449 kB / 1.428 GB, free: 12.46 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.201, allocations: 0 / 1.428 GB, free: 12.46 MB / 1.139 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001171/1.202, allocations: 0.5282 MB / 1.429 GB, free: 11.92 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.202, allocations: 8 kB / 1.429 GB, free: 11.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.202, allocations: 0 / 1.429 GB, free: 11.91 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.203, allocations: 4 kB / 1.429 GB, free: 11.91 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/1.203, allocations: 132.1 kB / 1.429 GB, free: 11.78 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004788/1.204, allocations: 0.5977 MB / 1.429 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/1.204, allocations: 59.58 kB / 1.429 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/1.204, allocations: 19.98 kB / 1.429 GB, free: 11.08 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006344/1.205, allocations: 348.9 kB / 1.43 GB, free: 10.74 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004478/1.205, allocations: 283.5 kB / 1.43 GB, free: 10.42 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007603/1.206, allocations: 460.3 kB / 1.43 GB, free: 9.938 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/1.206, allocations: 0 / 1.43 GB, free: 9.938 MB / 1.139 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000979/1.207, allocations: 0.5203 MB / 1.431 GB, free: 9.41 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.207, allocations: 8 kB / 1.431 GB, free: 9.402 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/1.207, allocations: 288 / 1.431 GB, free: 9.402 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/1.207, allocations: 11.94 kB / 1.431 GB, free: 9.391 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/1.208, allocations: 115.9 kB / 1.431 GB, free: 9.277 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.208, allocations: 4 kB / 1.431 GB, free: 9.273 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/1.208, allocations: 43.95 kB / 1.431 GB, free: 9.23 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/1.208, allocations: 23.92 kB / 1.431 GB, free: 9.207 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.0002919/1.209, allocations: 216.7 kB / 1.431 GB, free: 8.988 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/1.209, allocations: 63.56 kB / 1.431 GB, free: 8.926 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/1.21, allocations: 491.8 kB / 1.432 GB, free: 8.438 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/1.21, allocations: 4 kB / 1.432 GB, free: 8.434 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.21, allocations: 0 / 1.432 GB, free: 8.434 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009431/1.211, allocations: 0.6988 MB / 1.433 GB, free: 7.648 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/1.213, allocations: 1.277 MB / 1.434 GB, free: 6.293 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.213, allocations: 8.062 kB / 1.434 GB, free: 6.285 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006345/1.214, allocations: 119.8 kB / 1.434 GB, free: 6.168 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.214, allocations: 4 kB / 1.434 GB, free: 6.164 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/1.214, allocations: 12 kB / 1.434 GB, free: 6.152 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004303/1.214, allocations: 0.5977 MB / 1.435 GB, free: 5.531 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.214, allocations: 4.031 kB / 1.435 GB, free: 5.527 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/1.216, allocations: 0.7949 MB / 1.435 GB, free: 4.695 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/1.216, allocations: 184.7 kB / 1.435 GB, free: 4.496 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/1.216, allocations: 11.94 kB / 1.436 GB, free: 4.484 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/1.216, allocations: 25.81 kB / 1.436 GB, free: 4.461 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.217, allocations: 39.88 kB / 1.436 GB, free: 4.422 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/1.217, allocations: 12 kB / 1.436 GB, free: 4.41 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004694/1.217, allocations: 350.8 kB / 1.436 GB, free: 4.07 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/1.217, allocations: 0 / 1.436 GB, free: 4.07 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001076/1.218, allocations: 363.3 kB / 1.436 GB, free: 3.715 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.0005891/1.219, allocations: 209.9 kB / 1.436 GB, free: 3.508 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001679/1.22, allocations: 0.6408 MB / 1.437 GB, free: 2.867 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.22, allocations: 8.062 kB / 1.437 GB, free: 2.859 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004539/1.221, allocations: 212 kB / 1.437 GB, free: 2.652 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/1.223, allocations: 357.1 kB / 1.438 GB, free: 2.312 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/1.226, allocations: 1.411 MB / 1.439 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000734/1.226, allocations: 0.9496 MB / 1.44 GB, free: 15.88 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007172/1.227, allocations: 208.9 kB / 1.44 GB, free: 15.67 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/1.227, allocations: 47.44 kB / 1.44 GB, free: 15.62 MB / 1.154 GB Notification: Performance of SimCode: time 1.694e-06/1.227, allocations: 0 / 1.44 GB, free: 15.62 MB / 1.154 GB Notification: Performance of Templates: time 0.02697/1.254, allocations: 12.88 MB / 1.453 GB, free: 2.945 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 -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.740450642071664]