Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001197/0.001197, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001347/0.001347, allocations: 221.9 kB / 23.01 MB, free: 5.082 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.329/1.329, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.975/2.975, allocations: 0.505 GB / 0.8108 GB, free: 22.2 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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: 67.5 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2959, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2028/0.4987, allocations: 189 MB / 1.539 GB, free: 10.27 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009983/0.5087, allocations: 7.046 MB / 1.546 GB, free: 3.211 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007529/0.5094, allocations: 43.62 kB / 1.546 GB, free: 3.168 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.5105, allocations: 413.4 kB / 1.546 GB, free: 2.762 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.5138, allocations: 1.533 MB / 1.547 GB, free: 1.223 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.5165, allocations: 1.218 MB / 1.549 GB, free: 8 kB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002567/0.5191, allocations: 1.999 MB / 1.551 GB, free: 14 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007878/0.5199, allocations: 0.4975 MB / 1.551 GB, free: 13.49 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.522, allocations: 1.082 MB / 1.552 GB, free: 12.4 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.5233, allocations: 0.6349 MB / 1.553 GB, free: 11.77 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.5234, allocations: 68 kB / 1.553 GB, free: 11.7 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00356/0.527, allocations: 2.042 MB / 1.555 GB, free: 9.656 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.5273, allocations: 303.1 kB / 1.555 GB, free: 9.359 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.000483/0.5278, allocations: 434 kB / 1.556 GB, free: 8.934 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.5304, allocations: 1.776 MB / 1.557 GB, free: 7.152 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5305, allocations: 0 / 1.557 GB, free: 7.152 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5305, allocations: 4 kB / 1.557 GB, free: 7.148 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.5305, allocations: 0 / 1.557 GB, free: 7.148 MB / 1.248 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.001753/0.5322, allocations: 1.103 MB / 1.558 GB, free: 6.012 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5322, allocations: 12.03 kB / 1.558 GB, free: 6 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.534, allocations: 279.2 kB / 1.559 GB, free: 5.727 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.535, allocations: 0.5604 MB / 1.559 GB, free: 5.137 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.5351, allocations: 45.3 kB / 1.559 GB, free: 5.094 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-05/0.5351, allocations: 56 kB / 1.559 GB, free: 5.039 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.5362, allocations: 0.6362 MB / 1.56 GB, free: 4.387 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.5362, allocations: 7.938 kB / 1.56 GB, free: 4.379 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.5363, allocations: 20 kB / 1.56 GB, free: 4.359 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.5363, allocations: 17.31 kB / 1.56 GB, free: 4.34 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.5372, allocations: 0.5204 MB / 1.56 GB, free: 3.82 MB / 1.248 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.003184/0.5404, allocations: 2.493 MB / 1.563 GB, free: 1.102 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.541, allocations: 347.4 kB / 1.563 GB, free: 0.7539 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.5414, allocations: 222.6 kB / 1.563 GB, free: 0.5352 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004584/0.5419, allocations: 76.25 kB / 1.563 GB, free: 472 kB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.5419, allocations: 34.89 kB / 1.564 GB, free: 428 kB / 1.248 GB Notification: Performance of pre-optimization done (n=39): time 2.194e-06/0.5419, allocations: 0 / 1.564 GB, free: 428 kB / 1.248 GB Notification: Performance of matching and sorting (n=39): time 0.001381/0.5433, allocations: 0.6267 MB / 1.564 GB, free: 15.79 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.5433, allocations: 55.41 kB / 1.564 GB, free: 15.72 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005715/0.5439, allocations: 0.4951 MB / 1.565 GB, free: 15.21 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.544, allocations: 29.7 kB / 1.565 GB, free: 15.18 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.5442, allocations: 333 kB / 1.565 GB, free: 14.85 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.5443, allocations: 146.7 kB / 1.565 GB, free: 14.7 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.5445, allocations: 94.08 kB / 1.565 GB, free: 14.61 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.5446, allocations: 366.7 kB / 1.566 GB, free: 14.24 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.545, allocations: 182.4 kB / 1.566 GB, free: 14.05 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.5454, allocations: 295.3 kB / 1.566 GB, free: 13.73 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/0.5461, allocations: 449 kB / 1.566 GB, free: 13.26 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5461, allocations: 0 / 1.566 GB, free: 13.26 MB / 1.264 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009022/0.547, allocations: 0.5243 MB / 1.567 GB, free: 12.73 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.547, allocations: 8 kB / 1.567 GB, free: 12.72 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.547, allocations: 4 kB / 1.567 GB, free: 12.71 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.547, allocations: 4 kB / 1.567 GB, free: 12.71 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/0.5477, allocations: 136 kB / 1.567 GB, free: 12.58 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004043/0.5481, allocations: 0.5977 MB / 1.568 GB, free: 11.96 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.5486, allocations: 51.59 kB / 1.568 GB, free: 11.91 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.5486, allocations: 20 kB / 1.568 GB, free: 11.89 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005216/0.5491, allocations: 348.9 kB / 1.568 GB, free: 11.54 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003975/0.5495, allocations: 283.5 kB / 1.568 GB, free: 11.23 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006857/0.5502, allocations: 452.4 kB / 1.569 GB, free: 10.75 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.5502, allocations: 0 / 1.569 GB, free: 10.75 MB / 1.264 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008888/0.5511, allocations: 0.528 MB / 1.569 GB, free: 10.22 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.5511, allocations: 8.281 kB / 1.569 GB, free: 10.21 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.5511, allocations: 4 kB / 1.569 GB, free: 10.21 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.5511, allocations: 11.94 kB / 1.569 GB, free: 10.2 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.5516, allocations: 111.9 kB / 1.569 GB, free: 10.09 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.5516, allocations: 7.984 kB / 1.569 GB, free: 10.08 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.552, allocations: 43.77 kB / 1.57 GB, free: 10.04 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.5521, allocations: 20 kB / 1.57 GB, free: 10.02 MB / 1.264 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.0001808/0.5523, allocations: 208.1 kB / 1.57 GB, free: 9.805 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.5524, allocations: 67.56 kB / 1.57 GB, free: 9.738 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008892/0.5533, allocations: 487.9 kB / 1.57 GB, free: 9.254 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.5533, allocations: 4 kB / 1.57 GB, free: 9.25 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5533, allocations: 4 kB / 1.57 GB, free: 9.246 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008084/0.5541, allocations: 0.7027 MB / 1.571 GB, free: 8.457 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.5561, allocations: 1.252 MB / 1.572 GB, free: 7.133 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5561, allocations: 0 / 1.572 GB, free: 7.133 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/0.5566, allocations: 135.8 kB / 1.572 GB, free: 7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.5567, allocations: 4 kB / 1.572 GB, free: 6.996 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.5567, allocations: 15.98 kB / 1.572 GB, free: 6.98 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003406/0.557, allocations: 0.59 MB / 1.573 GB, free: 6.367 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.557, allocations: 4.031 kB / 1.573 GB, free: 6.363 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.5582, allocations: 0.7948 MB / 1.574 GB, free: 5.527 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.5584, allocations: 111.5 kB / 1.574 GB, free: 5.418 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.5585, allocations: 11.94 kB / 1.574 GB, free: 5.406 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.5589, allocations: 15.98 kB / 1.574 GB, free: 5.391 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.559, allocations: 35.98 kB / 1.574 GB, free: 5.355 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.559, allocations: 23.97 kB / 1.574 GB, free: 5.332 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0003943/0.5594, allocations: 350.8 kB / 1.574 GB, free: 4.992 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.5594, allocations: 0 / 1.574 GB, free: 4.992 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009079/0.5603, allocations: 367.3 kB / 1.575 GB, free: 4.633 MB / 1.264 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.0003436/0.5607, allocations: 191.3 kB / 1.575 GB, free: 4.438 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.562, allocations: 0.6411 MB / 1.575 GB, free: 3.797 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.562, allocations: 256 / 1.575 GB, free: 3.797 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.5624, allocations: 216 kB / 1.576 GB, free: 3.586 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.5639, allocations: 365.2 kB / 1.576 GB, free: 3.234 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.5662, allocations: 1.442 MB / 1.577 GB, free: 1.734 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.5668, allocations: 0.9418 MB / 1.578 GB, free: 0.7656 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.567, allocations: 59.42 kB / 1.578 GB, free: 0.707 MB / 1.264 GB Notification: Performance of SimCode: time 5.81e-07/0.567, allocations: 0 / 1.578 GB, free: 0.707 MB / 1.264 GB Notification: Performance of Templates: time 0.0177/0.5847, allocations: 13.1 MB / 1.591 GB, free: 3.676 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.314268309011823]