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.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.001832/0.001832, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00245/0.00245, allocations: 186 kB / 20.78 MB, free: 1.547 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.513/1.513, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.986/2.986, allocations: 496.2 MB / 0.7819 GB, free: 12.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 75.89 kB / 1.136 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32/1.323, allocations: 173.7 MB / 1.305 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2758/1.598, allocations: 186 MB / 1.487 GB, free: 11.02 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01301/1.611, allocations: 7.052 MB / 1.494 GB, free: 3.957 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/1.613, allocations: 31.81 kB / 1.494 GB, free: 3.926 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/1.614, allocations: 417.4 kB / 1.494 GB, free: 3.516 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004832/1.619, allocations: 1.497 MB / 1.496 GB, free: 2.012 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/1.623, allocations: 1.189 MB / 1.497 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003447/1.626, allocations: 1.941 MB / 1.499 GB, free: 14.87 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000975/1.627, allocations: 0.5047 MB / 1.499 GB, free: 14.36 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/1.63, allocations: 1.07 MB / 1.5 GB, free: 13.28 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/1.632, allocations: 0.6187 MB / 1.501 GB, free: 12.66 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/1.632, allocations: 75.92 kB / 1.501 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004367/1.636, allocations: 2.007 MB / 1.503 GB, free: 10.57 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000417/1.637, allocations: 303.1 kB / 1.503 GB, free: 10.28 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005972/1.637, allocations: 430.1 kB / 1.504 GB, free: 9.855 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003838/1.641, allocations: 1.771 MB / 1.506 GB, free: 8.082 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.641, allocations: 0 / 1.506 GB, free: 8.082 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.034e-06/1.641, allocations: 0 / 1.506 GB, free: 8.082 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.399e-05/1.641, allocations: 0 / 1.506 GB, free: 8.082 MB / 1.186 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.002175/1.643, allocations: 1.194 MB / 1.507 GB, free: 6.836 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.643, allocations: 8.031 kB / 1.507 GB, free: 6.828 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/1.645, allocations: 275.2 kB / 1.507 GB, free: 6.559 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/1.646, allocations: 0.6227 MB / 1.508 GB, free: 5.895 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/1.646, allocations: 37.31 kB / 1.508 GB, free: 5.859 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.817e-05/1.646, allocations: 52 kB / 1.508 GB, free: 5.809 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/1.648, allocations: 0.6362 MB / 1.508 GB, free: 5.156 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/1.648, allocations: 7.938 kB / 1.508 GB, free: 5.148 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/1.648, allocations: 20 kB / 1.508 GB, free: 5.129 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/1.648, allocations: 21.31 kB / 1.508 GB, free: 5.109 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/1.649, allocations: 0.5204 MB / 1.509 GB, free: 4.59 MB / 1.186 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.003553/1.652, allocations: 2.537 MB / 1.511 GB, free: 1.82 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/1.653, allocations: 343.6 kB / 1.512 GB, free: 1.48 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/1.654, allocations: 221.4 kB / 1.512 GB, free: 1.262 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006304/1.654, allocations: 315.5 kB / 1.512 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/1.654, allocations: 38.89 kB / 1.512 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of pre-optimization done (n=39): time 2.054e-06/1.654, allocations: 3.938 kB / 1.512 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of matching and sorting (n=39): time 0.001469/1.656, allocations: 0.6112 MB / 1.513 GB, free: 236 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/1.656, allocations: 63.34 kB / 1.513 GB, free: 160 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/1.656, allocations: 0.4989 MB / 1.513 GB, free: 15.64 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/1.656, allocations: 33.7 kB / 1.513 GB, free: 15.61 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/1.657, allocations: 337 kB / 1.514 GB, free: 15.27 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/1.657, allocations: 138.8 kB / 1.514 GB, free: 15.14 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/1.657, allocations: 90.08 kB / 1.514 GB, free: 15.04 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002629/1.657, allocations: 374.7 kB / 1.514 GB, free: 14.67 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/1.658, allocations: 170.5 kB / 1.514 GB, free: 14.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/1.658, allocations: 287.4 kB / 1.515 GB, free: 14.18 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/1.659, allocations: 452.2 kB / 1.515 GB, free: 13.7 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.659, allocations: 0 / 1.515 GB, free: 13.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009782/1.66, allocations: 0.5244 MB / 1.516 GB, free: 13.17 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.66, allocations: 14.41 kB / 1.516 GB, free: 13.16 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.66, allocations: 0 / 1.516 GB, free: 13.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/1.66, allocations: 11.98 kB / 1.516 GB, free: 13.15 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/1.661, allocations: 123.8 kB / 1.516 GB, free: 13.03 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005241/1.661, allocations: 0.6016 MB / 1.516 GB, free: 12.4 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/1.662, allocations: 47.72 kB / 1.516 GB, free: 12.36 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/1.662, allocations: 16 kB / 1.516 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007488/1.663, allocations: 352.8 kB / 1.517 GB, free: 11.99 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000457/1.663, allocations: 283.5 kB / 1.517 GB, free: 11.68 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007511/1.664, allocations: 452.3 kB / 1.518 GB, free: 11.21 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/1.664, allocations: 0 / 1.518 GB, free: 11.21 MB / 1.201 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009431/1.665, allocations: 0.5243 MB / 1.518 GB, free: 10.68 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.665, allocations: 8 kB / 1.518 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/1.665, allocations: 0 / 1.518 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/1.665, allocations: 7.938 kB / 1.518 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/1.665, allocations: 120.1 kB / 1.518 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.665, allocations: 4 kB / 1.518 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/1.666, allocations: 43.77 kB / 1.518 GB, free: 10.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/1.666, allocations: 19.94 kB / 1.518 GB, free: 10.48 MB / 1.201 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.0002167/1.666, allocations: 208.2 kB / 1.518 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/1.666, allocations: 75.45 kB / 1.518 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009867/1.667, allocations: 484 kB / 1.519 GB, free: 9.711 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.667, allocations: 4 kB / 1.519 GB, free: 9.707 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.667, allocations: 0 / 1.519 GB, free: 9.707 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009021/1.668, allocations: 0.7068 MB / 1.52 GB, free: 8.914 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/1.67, allocations: 1.281 MB / 1.521 GB, free: 7.555 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.67, allocations: 7.938 kB / 1.521 GB, free: 7.547 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/1.671, allocations: 124.2 kB / 1.521 GB, free: 7.426 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-06/1.671, allocations: 4 kB / 1.521 GB, free: 7.422 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/1.671, allocations: 16 kB / 1.521 GB, free: 7.406 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004102/1.671, allocations: 0.5976 MB / 1.522 GB, free: 6.785 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.671, allocations: 0 / 1.522 GB, free: 6.785 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/1.673, allocations: 0.806 MB / 1.522 GB, free: 5.938 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/1.673, allocations: 184.7 kB / 1.523 GB, free: 5.738 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/1.673, allocations: 11.94 kB / 1.523 GB, free: 5.727 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/1.673, allocations: 28.06 kB / 1.523 GB, free: 5.699 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/1.673, allocations: 23.97 kB / 1.523 GB, free: 5.676 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/1.674, allocations: 15.98 kB / 1.523 GB, free: 5.66 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004766/1.674, allocations: 354.8 kB / 1.523 GB, free: 5.316 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/1.674, allocations: 0 / 1.523 GB, free: 5.316 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001147/1.675, allocations: 367.3 kB / 1.523 GB, free: 4.957 MB / 1.201 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.0005557/1.676, allocations: 203.1 kB / 1.524 GB, free: 4.758 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001558/1.677, allocations: 0.6324 MB / 1.524 GB, free: 4.125 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.677, allocations: 1.125 kB / 1.524 GB, free: 4.125 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004473/1.678, allocations: 216.4 kB / 1.524 GB, free: 3.914 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/1.679, allocations: 367 kB / 1.525 GB, free: 3.562 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/1.682, allocations: 1.437 MB / 1.526 GB, free: 2.074 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/1.683, allocations: 0.9457 MB / 1.527 GB, free: 1.102 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006767/1.683, allocations: 196.9 kB / 1.527 GB, free: 0.9102 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/1.684, allocations: 55.42 kB / 1.527 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of SimCode: time 1.412e-06/1.684, allocations: 0 / 1.527 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of Templates: time 0.02617/1.71, allocations: 12.72 MB / 1.54 GB, free: 4.293 MB / 1.217 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins/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: 10.774692458100617]