Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001627/0.001627, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.00195/0.00195, allocations: 193.7 kB / 22.17 MB, free: 5.656 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.439/1.439, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.Density") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8156/0.8176, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2222/1.04, allocations: 186 MB / 1.456 GB, free: 9.848 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0116/1.051, allocations: 7.041 MB / 1.463 GB, free: 2.785 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000834/1.052, allocations: 31.81 kB / 1.463 GB, free: 2.754 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/1.053, allocations: 413.4 kB / 1.463 GB, free: 2.348 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0037/1.057, allocations: 1.505 MB / 1.464 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003023/1.06, allocations: 1.174 MB / 1.466 GB, free: 15.66 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002666/1.063, allocations: 1.952 MB / 1.468 GB, free: 13.71 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008069/1.064, allocations: 0.5125 MB / 1.468 GB, free: 13.18 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/1.065, allocations: 0.8523 MB / 1.469 GB, free: 12.32 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/1.066, allocations: 0.6382 MB / 1.469 GB, free: 11.69 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/1.067, allocations: 68 kB / 1.47 GB, free: 11.62 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/1.071, allocations: 2.038 MB / 1.472 GB, free: 9.578 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/1.071, allocations: 299 kB / 1.472 GB, free: 9.285 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006001/1.072, allocations: 434 kB / 1.472 GB, free: 8.859 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003453/1.075, allocations: 1.768 MB / 1.474 GB, free: 7.086 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.075, allocations: 0 / 1.474 GB, free: 7.086 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.212e-06/1.075, allocations: 0 / 1.474 GB, free: 7.086 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.226e-05/1.075, allocations: 0 / 1.474 GB, free: 7.086 MB / 1.17 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.002193/1.077, allocations: 1.19 MB / 1.475 GB, free: 5.844 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/1.077, allocations: 11.97 kB / 1.475 GB, free: 5.832 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/1.079, allocations: 279.2 kB / 1.475 GB, free: 5.559 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/1.08, allocations: 0.6109 MB / 1.476 GB, free: 4.914 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/1.08, allocations: 45.25 kB / 1.476 GB, free: 4.867 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/1.081, allocations: 56 kB / 1.476 GB, free: 4.812 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/1.082, allocations: 0.6401 MB / 1.477 GB, free: 4.156 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/1.082, allocations: 3.938 kB / 1.477 GB, free: 4.152 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/1.082, allocations: 20 kB / 1.477 GB, free: 4.133 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/1.082, allocations: 21.31 kB / 1.477 GB, free: 4.113 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/1.083, allocations: 0.5164 MB / 1.477 GB, free: 3.594 MB / 1.17 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.003483/1.086, allocations: 2.457 MB / 1.48 GB, free: 0.918 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006966/1.087, allocations: 351.5 kB / 1.48 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/1.087, allocations: 225.3 kB / 1.48 GB, free: 352 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/1.088, allocations: 307.6 kB / 1.481 GB, free: 15.99 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/1.088, allocations: 38.89 kB / 1.481 GB, free: 15.94 MB / 1.186 GB Notification: Performance of pre-optimization done (n=39): time 2.284e-06/1.088, allocations: 0 / 1.481 GB, free: 15.94 MB / 1.186 GB Notification: Performance of matching and sorting (n=39): time 0.001471/1.09, allocations: 0.619 MB / 1.481 GB, free: 15.32 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/1.09, allocations: 55.41 kB / 1.481 GB, free: 15.25 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/1.09, allocations: 0.4989 MB / 1.482 GB, free: 14.74 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/1.09, allocations: 33.7 kB / 1.482 GB, free: 14.7 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/1.091, allocations: 332.9 kB / 1.482 GB, free: 14.38 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/1.091, allocations: 142.7 kB / 1.482 GB, free: 14.23 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/1.091, allocations: 94.08 kB / 1.482 GB, free: 14.14 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002081/1.091, allocations: 370.7 kB / 1.483 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/1.091, allocations: 174.5 kB / 1.483 GB, free: 13.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/1.092, allocations: 283.5 kB / 1.483 GB, free: 13.27 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007801/1.093, allocations: 456.2 kB / 1.484 GB, free: 12.8 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.093, allocations: 0 / 1.484 GB, free: 12.8 MB / 1.186 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009814/1.094, allocations: 0.5322 MB / 1.484 GB, free: 12.26 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.094, allocations: 4 kB / 1.484 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.094, allocations: 4 kB / 1.484 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/1.094, allocations: 4 kB / 1.484 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/1.095, allocations: 131.8 kB / 1.484 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004441/1.095, allocations: 0.6016 MB / 1.485 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/1.096, allocations: 51.66 kB / 1.485 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/1.096, allocations: 20 kB / 1.485 GB, free: 11.42 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005608/1.096, allocations: 352.8 kB / 1.485 GB, free: 11.07 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004536/1.097, allocations: 279.5 kB / 1.485 GB, free: 10.77 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007734/1.097, allocations: 452.3 kB / 1.486 GB, free: 10.29 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/1.097, allocations: 4 kB / 1.486 GB, free: 10.29 MB / 1.186 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009895/1.098, allocations: 0.5204 MB / 1.486 GB, free: 9.762 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.098, allocations: 11.98 kB / 1.486 GB, free: 9.75 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.098, allocations: 4 kB / 1.486 GB, free: 9.746 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/1.098, allocations: 7.938 kB / 1.486 GB, free: 9.738 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/1.099, allocations: 124.1 kB / 1.487 GB, free: 9.617 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.099, allocations: 8 kB / 1.487 GB, free: 9.609 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/1.099, allocations: 35.83 kB / 1.487 GB, free: 9.574 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/1.099, allocations: 16 kB / 1.487 GB, free: 9.559 MB / 1.186 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.0001901/1.1, allocations: 212.1 kB / 1.487 GB, free: 9.344 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/1.1, allocations: 75.5 kB / 1.487 GB, free: 9.27 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000959/1.101, allocations: 483.9 kB / 1.487 GB, free: 8.789 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/1.101, allocations: 4 kB / 1.487 GB, free: 8.785 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.101, allocations: 4 kB / 1.487 GB, free: 8.781 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009306/1.102, allocations: 0.7068 MB / 1.488 GB, free: 7.988 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/1.104, allocations: 1.284 MB / 1.489 GB, free: 6.625 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.104, allocations: 224 / 1.489 GB, free: 6.625 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/1.104, allocations: 127.8 kB / 1.489 GB, free: 6.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/1.104, allocations: 0 / 1.489 GB, free: 6.5 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/1.104, allocations: 16.06 kB / 1.489 GB, free: 6.484 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003901/1.105, allocations: 0.6015 MB / 1.49 GB, free: 5.859 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.105, allocations: 96 / 1.49 GB, free: 5.859 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/1.106, allocations: 0.7981 MB / 1.491 GB, free: 5.02 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/1.106, allocations: 180.7 kB / 1.491 GB, free: 4.824 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/1.107, allocations: 19.94 kB / 1.491 GB, free: 4.805 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/1.107, allocations: 15.98 kB / 1.491 GB, free: 4.789 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/1.107, allocations: 23.97 kB / 1.491 GB, free: 4.766 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/1.107, allocations: 23.98 kB / 1.491 GB, free: 4.742 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004261/1.108, allocations: 346.8 kB / 1.491 GB, free: 4.406 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.108, allocations: 0 / 1.491 GB, free: 4.406 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000962/1.108, allocations: 367.3 kB / 1.492 GB, free: 4.047 MB / 1.186 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.0004736/1.109, allocations: 207.5 kB / 1.492 GB, free: 3.84 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.11, allocations: 0.6371 MB / 1.493 GB, free: 3.203 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.11, allocations: 256 / 1.493 GB, free: 3.203 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004468/1.111, allocations: 215.7 kB / 1.493 GB, free: 2.992 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/1.113, allocations: 363.5 kB / 1.493 GB, free: 2.648 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/1.115, allocations: 1.409 MB / 1.494 GB, free: 1.191 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/1.116, allocations: 0.9534 MB / 1.495 GB, free: 212 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005923/1.116, allocations: 204.8 kB / 1.496 GB, free: 8 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/1.116, allocations: 59.42 kB / 1.496 GB, free: 15.95 MB / 1.201 GB Notification: Performance of SimCode: time 5.91e-07/1.116, allocations: 4 kB / 1.496 GB, free: 15.95 MB / 1.201 GB Notification: Performance of Templates: time 0.02275/1.139, allocations: 12.73 MB / 1.508 GB, free: 3.402 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Density.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.335173720959574]