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.00189/0.00189, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002384/0.002384, allocations: 163 kB / 23.01 MB, free: 4.602 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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 3.015/3.015, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] 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.002329/0.002329, allocations: 63.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8956/0.898, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2191/1.117, allocations: 163.6 MB / 1.346 GB, free: 2.156 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01129/1.128, allocations: 6.463 MB / 1.353 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007267/1.129, allocations: 43.62 kB / 1.353 GB, free: 11.63 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/1.13, allocations: 397.5 kB / 1.353 GB, free: 11.24 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003756/1.134, allocations: 1.496 MB / 1.355 GB, free: 9.742 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00304/1.137, allocations: 1.186 MB / 1.356 GB, free: 8.559 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002764/1.14, allocations: 1.976 MB / 1.358 GB, free: 6.578 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008627/1.141, allocations: 0.5014 MB / 1.358 GB, free: 6.062 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/1.143, allocations: 1.094 MB / 1.359 GB, free: 4.965 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/1.144, allocations: 0.5952 MB / 1.36 GB, free: 4.367 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/1.145, allocations: 68 kB / 1.36 GB, free: 4.301 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/1.148, allocations: 1.57 MB / 1.361 GB, free: 2.727 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003736/1.148, allocations: 295.1 kB / 1.362 GB, free: 2.438 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004759/1.149, allocations: 366.5 kB / 1.362 GB, free: 2.078 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002654/1.151, allocations: 1.721 MB / 1.364 GB, free: 364 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/1.151, allocations: 4 kB / 1.364 GB, free: 360 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.352e-06/1.151, allocations: 0 / 1.364 GB, free: 360 kB / 1.201 GB Notification: Performance of Transformations before backend: time 1.207e-05/1.151, allocations: 0 / 1.364 GB, free: 360 kB / 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.001924/1.153, allocations: 1.107 MB / 1.365 GB, free: 15.21 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/1.153, allocations: 8.031 kB / 1.365 GB, free: 15.2 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/1.155, allocations: 279.2 kB / 1.365 GB, free: 14.93 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/1.156, allocations: 0.5604 MB / 1.366 GB, free: 14.34 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/1.156, allocations: 41.3 kB / 1.366 GB, free: 14.3 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.156, allocations: 60 kB / 1.366 GB, free: 14.24 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/1.158, allocations: 0.7327 MB / 1.366 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/1.158, allocations: 3.938 kB / 1.366 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/1.158, allocations: 28 kB / 1.367 GB, free: 13.43 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/1.158, allocations: 17.31 kB / 1.367 GB, free: 13.41 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/1.159, allocations: 0.5164 MB / 1.367 GB, free: 12.9 MB / 1.217 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.002806/1.162, allocations: 1.541 MB / 1.369 GB, free: 11.32 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/1.162, allocations: 343.5 kB / 1.369 GB, free: 10.98 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/1.163, allocations: 221.4 kB / 1.369 GB, free: 10.76 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000486/1.163, allocations: 80.19 kB / 1.369 GB, free: 10.68 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/1.163, allocations: 34.89 kB / 1.369 GB, free: 10.64 MB / 1.217 GB Notification: Performance of pre-optimization done (n=39): time 1.874e-06/1.163, allocations: 0 / 1.369 GB, free: 10.64 MB / 1.217 GB Notification: Performance of matching and sorting (n=39): time 0.001458/1.165, allocations: 0.6083 MB / 1.37 GB, free: 10.02 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/1.165, allocations: 55.41 kB / 1.37 GB, free: 9.957 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/1.165, allocations: 466 kB / 1.37 GB, free: 9.492 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/1.165, allocations: 37.7 kB / 1.37 GB, free: 9.449 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/1.166, allocations: 340.8 kB / 1.371 GB, free: 9.109 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/1.166, allocations: 142.8 kB / 1.371 GB, free: 8.969 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/1.166, allocations: 90.14 kB / 1.371 GB, free: 8.875 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001984/1.166, allocations: 366.7 kB / 1.371 GB, free: 8.508 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/1.166, allocations: 182.7 kB / 1.371 GB, free: 8.324 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/1.167, allocations: 434.2 kB / 1.372 GB, free: 7.828 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007988/1.168, allocations: 456.2 kB / 1.372 GB, free: 7.352 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.168, allocations: 0 / 1.372 GB, free: 7.352 MB / 1.217 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009827/1.169, allocations: 0.5242 MB / 1.373 GB, free: 6.82 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.169, allocations: 8 kB / 1.373 GB, free: 6.812 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.169, allocations: 4 kB / 1.373 GB, free: 6.809 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/1.169, allocations: 4 kB / 1.373 GB, free: 6.805 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007469/1.17, allocations: 136.2 kB / 1.373 GB, free: 6.672 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004509/1.17, allocations: 0.6015 MB / 1.373 GB, free: 6.047 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/1.171, allocations: 47.75 kB / 1.374 GB, free: 6 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/1.171, allocations: 16 kB / 1.374 GB, free: 5.984 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005521/1.171, allocations: 353 kB / 1.374 GB, free: 5.633 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005358/1.172, allocations: 434.3 kB / 1.374 GB, free: 5.133 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007763/1.172, allocations: 448.1 kB / 1.375 GB, free: 4.664 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/1.172, allocations: 4 kB / 1.375 GB, free: 4.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009881/1.173, allocations: 0.5284 MB / 1.375 GB, free: 4.125 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/1.173, allocations: 4.625 kB / 1.375 GB, free: 4.121 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/1.173, allocations: 4 kB / 1.375 GB, free: 4.117 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/1.173, allocations: 4 kB / 1.375 GB, free: 4.113 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/1.174, allocations: 124.1 kB / 1.375 GB, free: 3.992 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/1.174, allocations: 7.938 kB / 1.375 GB, free: 3.984 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/1.175, allocations: 47.75 kB / 1.375 GB, free: 3.938 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/1.175, allocations: 12 kB / 1.375 GB, free: 3.926 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.0001659/1.175, allocations: 204.2 kB / 1.376 GB, free: 3.719 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/1.175, allocations: 55.67 kB / 1.376 GB, free: 3.664 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009701/1.176, allocations: 494.5 kB / 1.376 GB, free: 3.176 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.176, allocations: 7.938 kB / 1.376 GB, free: 3.168 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.176, allocations: 0 / 1.376 GB, free: 3.168 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009269/1.177, allocations: 0.6988 MB / 1.377 GB, free: 2.383 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/1.179, allocations: 1.116 MB / 1.378 GB, free: 1.207 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.179, allocations: 0 / 1.378 GB, free: 1.207 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/1.179, allocations: 119.8 kB / 1.378 GB, free: 1.09 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.179, allocations: 7.938 kB / 1.378 GB, free: 1.082 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/1.179, allocations: 12.22 kB / 1.378 GB, free: 1.07 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003724/1.18, allocations: 0.5899 MB / 1.379 GB, free: 468 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.18, allocations: 7.969 kB / 1.379 GB, free: 460 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/1.181, allocations: 0.7991 MB / 1.379 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/1.181, allocations: 103.6 kB / 1.38 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/1.181, allocations: 16.05 kB / 1.38 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/1.182, allocations: 28.08 kB / 1.38 GB, free: 15.46 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/1.182, allocations: 31.97 kB / 1.38 GB, free: 15.43 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/1.182, allocations: 12 kB / 1.38 GB, free: 15.42 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003797/1.182, allocations: 322.9 kB / 1.38 GB, free: 15.11 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.182, allocations: 0 / 1.38 GB, free: 15.11 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009553/1.183, allocations: 375.2 kB / 1.38 GB, free: 14.74 MB / 1.232 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.0003386/1.184, allocations: 183 kB / 1.38 GB, free: 14.55 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001495/1.185, allocations: 0.6372 MB / 1.381 GB, free: 13.92 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.185, allocations: 1.125 kB / 1.381 GB, free: 13.92 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004401/1.186, allocations: 220.1 kB / 1.381 GB, free: 13.7 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.187, allocations: 331.2 kB / 1.382 GB, free: 13.39 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/1.19, allocations: 1.405 MB / 1.383 GB, free: 11.93 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/1.19, allocations: 353.1 kB / 1.383 GB, free: 11.55 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005919/1.191, allocations: 204.7 kB / 1.383 GB, free: 11.35 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/1.191, allocations: 52.48 kB / 1.384 GB, free: 11.3 MB / 1.232 GB Notification: Performance of SimCode: time 4.31e-07/1.191, allocations: 0 / 1.384 GB, free: 11.3 MB / 1.232 GB Notification: Performance of Templates: time 0.02242/1.213, allocations: 12.23 MB / 1.395 GB, free: 15.36 MB / 1.248 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 -s ida -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: 9.584846711950377]