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.001309/0.001309, allocations: 112.3 kB / 17.13 MB, free: 6.008 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.001405/0.001405, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.443/1.443, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.904/2.904, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.002012/0.002012, allocations: 75.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9594/0.9614, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2414/1.203, allocations: 188.7 MB / 1.506 GB, free: 12.47 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01184/1.215, allocations: 7.012 MB / 1.513 GB, free: 5.566 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/1.216, allocations: 43.62 kB / 1.513 GB, free: 5.523 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/1.218, allocations: 425.4 kB / 1.514 GB, free: 5.105 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/1.222, allocations: 1.499 MB / 1.515 GB, free: 3.602 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00336/1.225, allocations: 1.17 MB / 1.516 GB, free: 2.434 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003235/1.229, allocations: 1.949 MB / 1.518 GB, free: 492 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/1.23, allocations: 0.5556 MB / 1.519 GB, free: 15.91 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/1.232, allocations: 1.07 MB / 1.52 GB, free: 14.84 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/1.234, allocations: 0.6378 MB / 1.52 GB, free: 14.2 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/1.234, allocations: 68 kB / 1.52 GB, free: 14.14 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004312/1.238, allocations: 2.015 MB / 1.522 GB, free: 12.12 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004469/1.239, allocations: 299.1 kB / 1.523 GB, free: 11.82 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006979/1.24, allocations: 434 kB / 1.523 GB, free: 11.4 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004418/1.244, allocations: 1.767 MB / 1.525 GB, free: 9.629 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.244, allocations: 0 / 1.525 GB, free: 9.629 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.334e-06/1.244, allocations: 0 / 1.525 GB, free: 9.629 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.682e-05/1.244, allocations: 0 / 1.525 GB, free: 9.629 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.002434/1.246, allocations: 1.194 MB / 1.526 GB, free: 8.383 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.247, allocations: 11.98 kB / 1.526 GB, free: 8.371 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/1.249, allocations: 279.2 kB / 1.526 GB, free: 8.098 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/1.25, allocations: 0.617 MB / 1.527 GB, free: 7.434 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/1.25, allocations: 49.31 kB / 1.527 GB, free: 7.387 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.973e-05/1.25, allocations: 52 kB / 1.527 GB, free: 7.336 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/1.251, allocations: 0.6323 MB / 1.527 GB, free: 6.688 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/1.251, allocations: 3.938 kB / 1.527 GB, free: 6.684 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/1.251, allocations: 24 kB / 1.527 GB, free: 6.66 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/1.251, allocations: 17.31 kB / 1.527 GB, free: 6.645 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/1.252, allocations: 0.5243 MB / 1.528 GB, free: 6.121 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.003743/1.256, allocations: 2.54 MB / 1.53 GB, free: 3.344 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007509/1.257, allocations: 347.5 kB / 1.531 GB, free: 2.996 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004139/1.257, allocations: 224 kB / 1.531 GB, free: 2.777 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006228/1.258, allocations: 299.6 kB / 1.531 GB, free: 2.43 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/1.258, allocations: 42.89 kB / 1.531 GB, free: 2.379 MB / 1.201 GB Notification: Performance of pre-optimization done (n=39): time 3.367e-06/1.258, allocations: 0 / 1.531 GB, free: 2.379 MB / 1.201 GB Notification: Performance of matching and sorting (n=39): time 0.001584/1.259, allocations: 0.6228 MB / 1.532 GB, free: 1.75 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/1.26, allocations: 55.41 kB / 1.532 GB, free: 1.684 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006942/1.26, allocations: 0.5028 MB / 1.533 GB, free: 1.168 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/1.26, allocations: 37.7 kB / 1.533 GB, free: 1.125 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/1.261, allocations: 333 kB / 1.533 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/1.261, allocations: 142.8 kB / 1.533 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/1.261, allocations: 94.08 kB / 1.533 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002165/1.261, allocations: 370.7 kB / 1.533 GB, free: 188 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/1.261, allocations: 174.5 kB / 1.534 GB, free: 12 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/1.262, allocations: 287.4 kB / 1.534 GB, free: 15.69 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008068/1.263, allocations: 440.3 kB / 1.534 GB, free: 15.23 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.263, allocations: 4 kB / 1.534 GB, free: 15.23 MB / 1.217 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001133/1.264, allocations: 0.5281 MB / 1.535 GB, free: 14.69 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.264, allocations: 8 kB / 1.535 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.264, allocations: 0 / 1.535 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/1.264, allocations: 7.938 kB / 1.535 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007457/1.265, allocations: 136.1 kB / 1.535 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004882/1.265, allocations: 0.5977 MB / 1.536 GB, free: 13.92 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/1.266, allocations: 47.72 kB / 1.536 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/1.266, allocations: 16 kB / 1.536 GB, free: 13.86 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006576/1.267, allocations: 356.9 kB / 1.536 GB, free: 13.5 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004711/1.267, allocations: 279.4 kB / 1.536 GB, free: 13.19 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007824/1.268, allocations: 452.4 kB / 1.537 GB, free: 12.72 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/1.268, allocations: 0 / 1.537 GB, free: 12.72 MB / 1.217 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001012/1.269, allocations: 0.5204 MB / 1.537 GB, free: 12.19 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/1.269, allocations: 8.281 kB / 1.537 GB, free: 12.18 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.269, allocations: 11.92 kB / 1.537 GB, free: 12.17 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/1.269, allocations: 7.938 kB / 1.537 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/1.269, allocations: 115.9 kB / 1.537 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/1.269, allocations: 4 kB / 1.537 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/1.27, allocations: 47.7 kB / 1.537 GB, free: 12 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/1.27, allocations: 16 kB / 1.537 GB, free: 11.98 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.0002287/1.27, allocations: 216.1 kB / 1.538 GB, free: 11.77 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/1.27, allocations: 63.56 kB / 1.538 GB, free: 11.7 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/1.271, allocations: 483.8 kB / 1.538 GB, free: 11.22 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.271, allocations: 4 kB / 1.538 GB, free: 11.22 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.271, allocations: 3.938 kB / 1.538 GB, free: 11.21 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009147/1.272, allocations: 0.7146 MB / 1.539 GB, free: 10.41 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/1.274, allocations: 1.285 MB / 1.54 GB, free: 9.055 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.275, allocations: 4.125 kB / 1.54 GB, free: 9.051 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00068/1.275, allocations: 127.8 kB / 1.54 GB, free: 8.926 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/1.275, allocations: 4 kB / 1.54 GB, free: 8.922 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/1.275, allocations: 11.98 kB / 1.54 GB, free: 8.91 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004015/1.276, allocations: 0.5978 MB / 1.541 GB, free: 8.289 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.276, allocations: 4.031 kB / 1.541 GB, free: 8.285 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/1.277, allocations: 0.8026 MB / 1.542 GB, free: 7.441 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/1.277, allocations: 176.7 kB / 1.542 GB, free: 7.25 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.648e-05/1.277, allocations: 11.94 kB / 1.542 GB, free: 7.238 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/1.278, allocations: 27.97 kB / 1.542 GB, free: 7.211 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/1.278, allocations: 31.91 kB / 1.542 GB, free: 7.18 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/1.278, allocations: 16 kB / 1.542 GB, free: 7.164 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005118/1.278, allocations: 350.8 kB / 1.542 GB, free: 6.824 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/1.278, allocations: 0 / 1.542 GB, free: 6.824 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001189/1.28, allocations: 375.2 kB / 1.542 GB, free: 6.457 MB / 1.217 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.0004881/1.28, allocations: 187 kB / 1.543 GB, free: 6.266 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001632/1.282, allocations: 0.6295 MB / 1.543 GB, free: 5.637 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.282, allocations: 384 / 1.543 GB, free: 5.637 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004708/1.282, allocations: 219.7 kB / 1.543 GB, free: 5.422 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/1.284, allocations: 368.2 kB / 1.544 GB, free: 5.07 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/1.287, allocations: 1.452 MB / 1.545 GB, free: 3.562 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/1.287, allocations: 0.9536 MB / 1.546 GB, free: 2.582 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/1.288, allocations: 47.44 kB / 1.546 GB, free: 2.535 MB / 1.217 GB Notification: Performance of SimCode: time 1.182e-06/1.288, allocations: 0 / 1.546 GB, free: 2.535 MB / 1.217 GB Notification: Performance of Templates: time 0.0208/1.308, allocations: 13.1 MB / 1.559 GB, free: 5.523 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: 13.853162301995326]