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.0009352/0.0009352, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008881/0.0008881, allocations: 177.9 kB / 23.22 MB, free: 1.344 MB / 18.57 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 0.8728/0.8728, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 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 1.816/1.816, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.559e-05, allocations: 10.22 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.658/0.6581, allocations: 163.5 MB / 1.161 GB, free: 13.16 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.007714/0.6658, allocations: 6.446 MB / 1.167 GB, free: 8.84 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.6664, allocations: 42.12 kB / 1.167 GB, free: 8.816 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.6674, allocations: 401.9 kB / 1.167 GB, free: 8.586 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.6706, allocations: 1.524 MB / 1.169 GB, free: 7.754 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.6733, allocations: 1.224 MB / 1.17 GB, free: 7.137 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.00203/0.6753, allocations: 1.971 MB / 1.172 GB, free: 6.207 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00062/0.676, allocations: 497 kB / 1.172 GB, free: 5.969 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.6779, allocations: 1.307 MB / 1.174 GB, free: 5.395 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.679, allocations: 0.5484 MB / 1.174 GB, free: 5.215 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 9.029e-05/0.679, allocations: 67.66 kB / 1.174 GB, free: 5.215 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.6819, allocations: 1.588 MB / 1.176 GB, free: 4.648 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.6823, allocations: 315 kB / 1.176 GB, free: 4.5 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.6826, allocations: 308 kB / 1.176 GB, free: 4.379 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.6854, allocations: 1.795 MB / 1.178 GB, free: 3.777 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6854, allocations: 1.125 kB / 1.178 GB, free: 3.777 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6854, allocations: 0 / 1.178 GB, free: 3.777 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.6854, allocations: 0 / 1.178 GB, free: 3.777 MB / 1.026 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.001621/0.687, allocations: 1.107 MB / 1.179 GB, free: 3.02 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.687, allocations: 9.859 kB / 1.179 GB, free: 3.02 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.6882, allocations: 279.4 kB / 1.179 GB, free: 2.953 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008237/0.689, allocations: 0.5471 MB / 1.18 GB, free: 2.609 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.6891, allocations: 40.12 kB / 1.18 GB, free: 2.594 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.474e-05/0.6891, allocations: 56.12 kB / 1.18 GB, free: 2.574 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/0.6901, allocations: 0.7399 MB / 1.181 GB, free: 2.18 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.6901, allocations: 0 / 1.181 GB, free: 2.18 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.6901, allocations: 21.34 kB / 1.181 GB, free: 2.164 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.6902, allocations: 22.41 kB / 1.181 GB, free: 2.164 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007356/0.6909, allocations: 0.521 MB / 1.181 GB, free: 1.996 MB / 1.026 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.002084/0.693, allocations: 1.535 MB / 1.183 GB, free: 1.121 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.6935, allocations: 347.6 kB / 1.183 GB, free: 0.9766 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.6938, allocations: 225.2 kB / 1.183 GB, free: 0.8984 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.6941, allocations: 82.81 kB / 1.184 GB, free: 0.8867 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.6941, allocations: 42.2 kB / 1.184 GB, free: 0.8398 MB / 1.026 GB Notification: Performance of pre-optimization done (n=39): time 2.154e-06/0.6941, allocations: 0 / 1.184 GB, free: 0.8398 MB / 1.026 GB Notification: Performance of matching and sorting (n=39): time 0.0009762/0.6951, allocations: 0.6126 MB / 1.184 GB, free: 0.6055 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.6951, allocations: 56.34 kB / 1.184 GB, free: 0.543 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.6955, allocations: 464.6 kB / 1.185 GB, free: 332 kB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.6956, allocations: 36.7 kB / 1.185 GB, free: 292 kB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.6958, allocations: 331.5 kB / 1.185 GB, free: 24 kB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.6959, allocations: 147 kB / 1.185 GB, free: 15.9 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.696, allocations: 88.84 kB / 1.185 GB, free: 15.86 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6961, allocations: 359.3 kB / 1.186 GB, free: 15.52 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.6964, allocations: 175.3 kB / 1.186 GB, free: 15.46 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.6968, allocations: 443.8 kB / 1.186 GB, free: 15.1 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/0.6974, allocations: 446.8 kB / 1.187 GB, free: 14.87 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6974, allocations: 8.719 kB / 1.187 GB, free: 14.86 MB / 1.042 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006506/0.6981, allocations: 0.5206 MB / 1.187 GB, free: 14.64 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.6981, allocations: 9.344 kB / 1.187 GB, free: 14.64 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6981, allocations: 3.828 kB / 1.187 GB, free: 14.64 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.6981, allocations: 4.531 kB / 1.187 GB, free: 14.64 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.6985, allocations: 134.4 kB / 1.187 GB, free: 14.63 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002651/0.6988, allocations: 0.5954 MB / 1.188 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.699, allocations: 48.83 kB / 1.188 GB, free: 14.01 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.6991, allocations: 19.44 kB / 1.188 GB, free: 14 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003796/0.6994, allocations: 355.2 kB / 1.188 GB, free: 13.82 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003332/0.6998, allocations: 437.9 kB / 1.189 GB, free: 13.46 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005353/0.7003, allocations: 452.1 kB / 1.189 GB, free: 13.22 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.7003, allocations: 0 / 1.189 GB, free: 13.22 MB / 1.042 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0006787/0.701, allocations: 0.5164 MB / 1.19 GB, free: 13.01 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.701, allocations: 8.656 kB / 1.19 GB, free: 13 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.701, allocations: 7.656 kB / 1.19 GB, free: 13 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/0.701, allocations: 3.594 kB / 1.19 GB, free: 13 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.7013, allocations: 115.8 kB / 1.19 GB, free: 12.99 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.7013, allocations: 8.219 kB / 1.19 GB, free: 12.99 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.7015, allocations: 42.53 kB / 1.19 GB, free: 12.96 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.7015, allocations: 20.67 kB / 1.19 GB, free: 12.96 MB / 1.042 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.0001325/0.7017, allocations: 208.5 kB / 1.19 GB, free: 12.76 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.7017, allocations: 57.94 kB / 1.19 GB, free: 12.73 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006588/0.7024, allocations: 490.3 kB / 1.191 GB, free: 12.52 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7024, allocations: 3.656 kB / 1.191 GB, free: 12.52 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7024, allocations: 0 / 1.191 GB, free: 12.52 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005664/0.703, allocations: 0.7083 MB / 1.191 GB, free: 11.96 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.7043, allocations: 1.109 MB / 1.192 GB, free: 11.35 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.7043, allocations: 6.156 kB / 1.192 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.7047, allocations: 124.9 kB / 1.192 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.7047, allocations: 3.312 kB / 1.192 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.7047, allocations: 9.656 kB / 1.192 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002/0.7049, allocations: 0.5892 MB / 1.193 GB, free: 10.74 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7049, allocations: 6.094 kB / 1.193 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008369/0.7057, allocations: 0.7931 MB / 1.194 GB, free: 10.3 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.7059, allocations: 103.5 kB / 1.194 GB, free: 10.25 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.7059, allocations: 11 kB / 1.194 GB, free: 10.24 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.7061, allocations: 26.09 kB / 1.194 GB, free: 10.23 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.7062, allocations: 34.8 kB / 1.194 GB, free: 10.22 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.7062, allocations: 16.69 kB / 1.194 GB, free: 10.21 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0002711/0.7065, allocations: 318.3 kB / 1.194 GB, free: 10.07 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7065, allocations: 0 / 1.194 GB, free: 10.07 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0007543/0.7072, allocations: 374.7 kB / 1.195 GB, free: 9.988 MB / 1.042 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.0003637/0.7076, allocations: 193.9 kB / 1.195 GB, free: 9.863 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0009577/0.7086, allocations: 0.6353 MB / 1.195 GB, free: 9.668 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7086, allocations: 5.531 kB / 1.195 GB, free: 9.664 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.7088, allocations: 210.2 kB / 1.196 GB, free: 9.602 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/0.7097, allocations: 314.3 kB / 1.196 GB, free: 9.52 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.7115, allocations: 1.342 MB / 1.197 GB, free: 8.723 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.7117, allocations: 350.2 kB / 1.198 GB, free: 8.602 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.7119, allocations: 58.2 kB / 1.198 GB, free: 8.586 MB / 1.042 GB Notification: Performance of SimCode: time 8.71e-07/0.7119, allocations: 3.938 kB / 1.198 GB, free: 8.582 MB / 1.042 GB Notification: Performance of Templates: time 0.0113/0.7232, allocations: 12.98 MB / 1.21 GB, free: 2.441 MB / 1.042 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/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: 9.358355863019824]