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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 211.8 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.183/3.183, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 72.25 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3271, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2102/0.5374, allocations: 163.6 MB / 1.487 GB, free: 12.74 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.5486, allocations: 6.478 MB / 1.493 GB, free: 6.242 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.5497, allocations: 35.69 kB / 1.493 GB, free: 6.207 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.5509, allocations: 401.5 kB / 1.494 GB, free: 5.812 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003984/0.5549, allocations: 1.491 MB / 1.495 GB, free: 4.316 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.5582, allocations: 1.201 MB / 1.496 GB, free: 3.117 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002852/0.5611, allocations: 1.995 MB / 1.498 GB, free: 1.117 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008498/0.5619, allocations: 0.4975 MB / 1.499 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.5643, allocations: 1.094 MB / 1.5 GB, free: 15.51 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.5656, allocations: 0.6257 MB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.5658, allocations: 68 kB / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.5691, allocations: 1.597 MB / 1.502 GB, free: 13.22 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.00039/0.5695, allocations: 299.1 kB / 1.502 GB, free: 12.93 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004831/0.57, allocations: 358.5 kB / 1.503 GB, free: 12.57 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.5732, allocations: 1.725 MB / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5732, allocations: 0 / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.616e-06/0.5732, allocations: 4 kB / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.5732, allocations: 0 / 1.504 GB, free: 10.84 MB / 1.201 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.002124/0.5753, allocations: 1.107 MB / 1.505 GB, free: 9.699 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.5754, allocations: 12.03 kB / 1.505 GB, free: 9.688 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.5775, allocations: 267.2 kB / 1.506 GB, free: 9.426 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.5787, allocations: 0.5566 MB / 1.506 GB, free: 8.836 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/0.5787, allocations: 45.25 kB / 1.506 GB, free: 8.793 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.5788, allocations: 59.95 kB / 1.506 GB, free: 8.734 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.5801, allocations: 0.7327 MB / 1.507 GB, free: 7.961 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.5802, allocations: 3.938 kB / 1.507 GB, free: 7.957 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.5802, allocations: 24 kB / 1.507 GB, free: 7.934 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.5803, allocations: 21.31 kB / 1.507 GB, free: 7.91 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.5813, allocations: 0.5204 MB / 1.508 GB, free: 7.391 MB / 1.201 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.002898/0.5842, allocations: 1.537 MB / 1.509 GB, free: 5.816 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.5849, allocations: 339.5 kB / 1.509 GB, free: 5.477 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.5853, allocations: 223 kB / 1.51 GB, free: 5.258 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005269/0.5859, allocations: 80.23 kB / 1.51 GB, free: 5.18 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5859, allocations: 38.89 kB / 1.51 GB, free: 5.133 MB / 1.201 GB Notification: Performance of pre-optimization done (n=39): time 2.404e-06/0.5859, allocations: 0 / 1.51 GB, free: 5.133 MB / 1.201 GB Notification: Performance of matching and sorting (n=39): time 0.001513/0.5874, allocations: 0.6228 MB / 1.51 GB, free: 4.504 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.5874, allocations: 55.41 kB / 1.51 GB, free: 4.438 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/0.588, allocations: 470 kB / 1.511 GB, free: 3.969 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.5881, allocations: 33.7 kB / 1.511 GB, free: 3.93 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.5883, allocations: 340.8 kB / 1.511 GB, free: 3.59 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.5885, allocations: 146.7 kB / 1.511 GB, free: 3.445 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.5886, allocations: 86.09 kB / 1.511 GB, free: 3.352 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.5888, allocations: 370.7 kB / 1.512 GB, free: 2.98 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.5892, allocations: 170.5 kB / 1.512 GB, free: 2.812 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.5897, allocations: 437.6 kB / 1.512 GB, free: 2.309 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007722/0.5905, allocations: 457 kB / 1.513 GB, free: 1.832 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5905, allocations: 0 / 1.513 GB, free: 1.832 MB / 1.201 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000981/0.5915, allocations: 0.532 MB / 1.513 GB, free: 1.293 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.5915, allocations: 11.98 kB / 1.513 GB, free: 1.281 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.5915, allocations: 0 / 1.513 GB, free: 1.281 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.5915, allocations: 4 kB / 1.513 GB, free: 1.277 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/0.5923, allocations: 128.1 kB / 1.513 GB, free: 1.152 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004597/0.5927, allocations: 0.5977 MB / 1.514 GB, free: 0.5312 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.5932, allocations: 43.72 kB / 1.514 GB, free: 500 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.5933, allocations: 23.98 kB / 1.514 GB, free: 476 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005902/0.5939, allocations: 348.9 kB / 1.514 GB, free: 120 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005552/0.5944, allocations: 433.6 kB / 1.515 GB, free: 15.62 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007544/0.5952, allocations: 452.1 kB / 1.515 GB, free: 15.15 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.118e-06/0.5952, allocations: 7.984 kB / 1.515 GB, free: 15.14 MB / 1.217 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009577/0.5962, allocations: 0.5207 MB / 1.516 GB, free: 14.61 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.5962, allocations: 4 kB / 1.516 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5962, allocations: 4 kB / 1.516 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/0.5962, allocations: 4 kB / 1.516 GB, free: 14.6 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/0.5967, allocations: 120.1 kB / 1.516 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5967, allocations: 11.94 kB / 1.516 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.5972, allocations: 43.89 kB / 1.516 GB, free: 14.43 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.5973, allocations: 23.98 kB / 1.516 GB, free: 14.41 MB / 1.217 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.0001908/0.5974, allocations: 200.2 kB / 1.516 GB, free: 14.2 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.5976, allocations: 59.62 kB / 1.516 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009636/0.5985, allocations: 490 kB / 1.517 GB, free: 13.66 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009091/0.5994, allocations: 0.7081 MB / 1.517 GB, free: 12.86 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5994, allocations: 4 kB / 1.517 GB, free: 12.86 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.5997, allocations: 95.52 kB / 1.517 GB, free: 12.77 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.5998, allocations: 8 kB / 1.518 GB, free: 12.76 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.6002, allocations: 23.92 kB / 1.518 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.6003, allocations: 27.94 kB / 1.518 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001384/0.6016, allocations: 0.5717 MB / 1.518 GB, free: 12.12 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001287/0.6029, allocations: 0.8422 MB / 1.519 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003408/0.6033, allocations: 183.9 kB / 1.519 GB, free: 11.09 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004273/0.6037, allocations: 322.9 kB / 1.519 GB, free: 10.77 MB / 1.217 GB Notification: Performance of Backend: time 4.21e-07/0.6037, allocations: 0 / 1.519 GB, free: 10.77 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002669/0.6064, allocations: 0.9408 MB / 1.52 GB, free: 9.828 MB / 1.217 GB Notification: Performance of SimCode: time 0.003308/0.6097, allocations: 1.929 MB / 1.522 GB, free: 7.848 MB / 1.217 GB Notification: Performance of Templates: time 0.03358/0.6433, allocations: 18.94 MB / 1.541 GB, free: 5.145 MB / 1.232 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/jenkins1/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: 9.423306701006368]