Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 183 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.45/2.45, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9442/0.9457, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2042/1.15, allocations: 185.1 MB / 1.348 GB, free: 10.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01062/1.161, allocations: 6.984 MB / 1.355 GB, free: 3.105 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/1.162, allocations: 27.88 kB / 1.355 GB, free: 3.078 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/1.163, allocations: 413.5 kB / 1.355 GB, free: 2.672 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004192/1.168, allocations: 1.501 MB / 1.357 GB, free: 1.164 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003418/1.171, allocations: 1.178 MB / 1.358 GB, free: 15.98 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002853/1.174, allocations: 1.953 MB / 1.36 GB, free: 14.03 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/1.175, allocations: 0.6472 MB / 1.36 GB, free: 13.37 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/1.177, allocations: 0.8523 MB / 1.361 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/1.179, allocations: 0.5915 MB / 1.362 GB, free: 11.92 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002139/1.179, allocations: 68 kB / 1.362 GB, free: 11.86 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003934/1.183, allocations: 1.937 MB / 1.364 GB, free: 9.914 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004701/1.183, allocations: 295.1 kB / 1.364 GB, free: 9.625 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008142/1.184, allocations: 430.1 kB / 1.364 GB, free: 9.203 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003724/1.188, allocations: 1.765 MB / 1.366 GB, free: 7.434 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.188, allocations: 0 / 1.366 GB, free: 7.434 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.684e-06/1.188, allocations: 3.938 kB / 1.366 GB, free: 7.43 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.674e-05/1.188, allocations: 0 / 1.366 GB, free: 7.43 MB / 1.092 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.002436/1.19, allocations: 1.164 MB / 1.367 GB, free: 6.215 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.19, allocations: 8.922 kB / 1.367 GB, free: 6.207 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/1.192, allocations: 270.8 kB / 1.368 GB, free: 5.941 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/1.194, allocations: 0.6143 MB / 1.368 GB, free: 5.281 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/1.194, allocations: 37.31 kB / 1.368 GB, free: 5.246 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/1.194, allocations: 56 kB / 1.368 GB, free: 5.191 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/1.195, allocations: 0.6323 MB / 1.369 GB, free: 4.543 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/1.195, allocations: 7.875 kB / 1.369 GB, free: 4.535 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/1.195, allocations: 27.98 kB / 1.369 GB, free: 4.508 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/1.195, allocations: 21.31 kB / 1.369 GB, free: 4.488 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009701/1.196, allocations: 0.5165 MB / 1.369 GB, free: 3.973 MB / 1.092 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.003462/1.2, allocations: 2.449 MB / 1.372 GB, free: 1.309 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/1.2, allocations: 367.5 kB / 1.372 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/1.201, allocations: 237.4 kB / 1.372 GB, free: 0.707 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005985/1.201, allocations: 303.6 kB / 1.373 GB, free: 364 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/1.201, allocations: 38.89 kB / 1.373 GB, free: 316 kB / 1.092 GB Notification: Performance of pre-optimization done (n=39): time 2.144e-06/1.201, allocations: 0 / 1.373 GB, free: 316 kB / 1.092 GB Notification: Performance of matching and sorting (n=39): time 0.001507/1.203, allocations: 0.6157 MB / 1.373 GB, free: 15.68 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/1.203, allocations: 63.34 kB / 1.373 GB, free: 15.61 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/1.204, allocations: 0.495 MB / 1.374 GB, free: 15.1 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/1.204, allocations: 37.69 kB / 1.374 GB, free: 15.06 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/1.204, allocations: 328.4 kB / 1.374 GB, free: 14.73 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/1.204, allocations: 137.9 kB / 1.374 GB, free: 14.6 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.204, allocations: 90.03 kB / 1.374 GB, free: 14.51 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.204, allocations: 366.7 kB / 1.375 GB, free: 14.14 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/1.205, allocations: 182.5 kB / 1.375 GB, free: 13.96 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/1.205, allocations: 279.4 kB / 1.375 GB, free: 13.65 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007268/1.206, allocations: 452.3 kB / 1.376 GB, free: 13.18 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.206, allocations: 0 / 1.376 GB, free: 13.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009868/1.207, allocations: 0.532 MB / 1.376 GB, free: 12.64 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.207, allocations: 6.344 kB / 1.376 GB, free: 12.63 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.207, allocations: 4 kB / 1.376 GB, free: 12.63 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.207, allocations: 4 kB / 1.376 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/1.208, allocations: 135.8 kB / 1.376 GB, free: 12.49 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004104/1.208, allocations: 0.5899 MB / 1.377 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/1.209, allocations: 55.5 kB / 1.377 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/1.209, allocations: 20 kB / 1.377 GB, free: 11.8 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005481/1.209, allocations: 348.9 kB / 1.377 GB, free: 11.46 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004088/1.21, allocations: 287.4 kB / 1.378 GB, free: 11.14 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006974/1.21, allocations: 456.3 kB / 1.378 GB, free: 10.66 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/1.21, allocations: 0 / 1.378 GB, free: 10.66 MB / 1.107 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009227/1.211, allocations: 0.5162 MB / 1.379 GB, free: 10.14 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/1.211, allocations: 8 kB / 1.379 GB, free: 10.13 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.211, allocations: 4 kB / 1.379 GB, free: 10.13 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/1.211, allocations: 7.938 kB / 1.379 GB, free: 10.12 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/1.212, allocations: 120.1 kB / 1.379 GB, free: 10 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.212, allocations: 8 kB / 1.379 GB, free: 9.996 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/1.212, allocations: 39.67 kB / 1.379 GB, free: 9.957 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/1.212, allocations: 23.98 kB / 1.379 GB, free: 9.934 MB / 1.107 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.000201/1.213, allocations: 207.1 kB / 1.379 GB, free: 9.727 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/1.213, allocations: 63.19 kB / 1.379 GB, free: 9.664 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009164/1.214, allocations: 482.6 kB / 1.379 GB, free: 9.18 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.214, allocations: 7.938 kB / 1.38 GB, free: 9.172 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.214, allocations: 4 kB / 1.38 GB, free: 9.168 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009696/1.215, allocations: 0.7027 MB / 1.38 GB, free: 8.379 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/1.217, allocations: 1.285 MB / 1.381 GB, free: 7.016 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.217, allocations: 0 / 1.381 GB, free: 7.016 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/1.218, allocations: 132.2 kB / 1.382 GB, free: 6.887 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.218, allocations: 0 / 1.382 GB, free: 6.887 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/1.218, allocations: 12 kB / 1.382 GB, free: 6.875 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000362/1.218, allocations: 0.6015 MB / 1.382 GB, free: 6.25 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.218, allocations: 0 / 1.382 GB, free: 6.25 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/1.22, allocations: 0.799 MB / 1.383 GB, free: 5.414 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/1.22, allocations: 180.3 kB / 1.383 GB, free: 5.219 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/1.22, allocations: 19.94 kB / 1.383 GB, free: 5.199 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/1.221, allocations: 15.98 kB / 1.383 GB, free: 5.184 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/1.221, allocations: 31.89 kB / 1.383 GB, free: 5.152 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/1.221, allocations: 16 kB / 1.383 GB, free: 5.137 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004759/1.221, allocations: 350.8 kB / 1.384 GB, free: 4.797 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.221, allocations: 0 / 1.384 GB, free: 4.797 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00108/1.222, allocations: 367.1 kB / 1.384 GB, free: 4.438 MB / 1.107 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.0005462/1.223, allocations: 202.4 kB / 1.384 GB, free: 4.238 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001551/1.224, allocations: 0.6756 MB / 1.385 GB, free: 3.562 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.225, allocations: 5.125 kB / 1.385 GB, free: 3.559 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004353/1.225, allocations: 228 kB / 1.385 GB, free: 3.336 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/1.227, allocations: 356.9 kB / 1.385 GB, free: 2.996 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/1.229, allocations: 1.438 MB / 1.387 GB, free: 1.504 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007886/1.23, allocations: 0.9457 MB / 1.388 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/1.23, allocations: 55.42 kB / 1.388 GB, free: 488 kB / 1.107 GB Notification: Performance of SimCode: time 1.212e-06/1.23, allocations: 0 / 1.388 GB, free: 488 kB / 1.107 GB Notification: Performance of Templates: time 0.02099/1.251, allocations: 13.01 MB / 1.4 GB, free: 3.547 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches