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.001564/0.001564, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001675/0.001675, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.52/1.52, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.864/2.864, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 75.81 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.7299, allocations: 151.6 MB / 1.017 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2305/0.9604, allocations: 182.6 MB / 1.195 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.9723, allocations: 6.933 MB / 1.202 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.9738, allocations: 23.81 kB / 1.202 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.9751, allocations: 346.2 kB / 1.202 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.9796, allocations: 1.362 MB / 1.204 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.9831, allocations: 1.072 MB / 1.205 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003/0.9861, allocations: 1.945 MB / 1.207 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.9872, allocations: 0.6453 MB / 1.207 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.9891, allocations: 0.8171 MB / 1.208 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.9908, allocations: 0.6357 MB / 1.209 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.991, allocations: 68 kB / 1.209 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004478/0.9955, allocations: 1.995 MB / 1.211 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004676/0.996, allocations: 299.1 kB / 1.211 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006961/0.9967, allocations: 426.1 kB / 1.211 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003769/1, allocations: 1.866 MB / 1.213 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1, allocations: 0 / 1.213 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/1, allocations: 0 / 1.213 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.211e-05/1.001, allocations: 0 / 1.213 GB, free: 9.094 MB / 0.9669 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.003, allocations: 1.161 MB / 1.214 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.003, allocations: 8.031 kB / 1.214 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/1.005, allocations: 270.8 kB / 1.215 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/1.006, allocations: 0.5869 MB / 1.215 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/1.006, allocations: 41.31 kB / 1.215 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/1.006, allocations: 52 kB / 1.215 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/1.007, allocations: 0.6401 MB / 1.216 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/1.007, allocations: 3.938 kB / 1.216 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/1.007, allocations: 20 kB / 1.216 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/1.007, allocations: 25.31 kB / 1.216 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/1.008, allocations: 0.5165 MB / 1.216 GB, free: 5.672 MB / 0.9669 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.003477/1.012, allocations: 2.453 MB / 1.219 GB, free: 3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/1.013, allocations: 356.8 kB / 1.219 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/1.013, allocations: 247 kB / 1.219 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006261/1.014, allocations: 299.6 kB / 1.22 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/1.014, allocations: 38.89 kB / 1.22 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 2.194e-06/1.014, allocations: 0 / 1.22 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.001501/1.015, allocations: 0.6154 MB / 1.22 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/1.015, allocations: 55.41 kB / 1.22 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000661/1.016, allocations: 0.495 MB / 1.221 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/1.016, allocations: 33.7 kB / 1.221 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/1.016, allocations: 340.3 kB / 1.221 GB, free: 452 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/1.016, allocations: 130.1 kB / 1.221 GB, free: 320 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/1.017, allocations: 82.05 kB / 1.221 GB, free: 232 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002211/1.017, allocations: 374.7 kB / 1.222 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/1.017, allocations: 174.5 kB / 1.222 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/1.018, allocations: 283.4 kB / 1.222 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007668/1.019, allocations: 452.2 kB / 1.223 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.019, allocations: 7.938 kB / 1.223 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009976/1.02, allocations: 0.5239 MB / 1.223 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/1.02, allocations: 9.406 kB / 1.223 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.02, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.02, allocations: 4 kB / 1.223 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/1.02, allocations: 140 kB / 1.223 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005249/1.021, allocations: 0.5976 MB / 1.224 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006886/1.022, allocations: 79.56 kB / 1.224 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/1.022, allocations: 20 kB / 1.224 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006233/1.022, allocations: 356.8 kB / 1.224 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004528/1.023, allocations: 279.4 kB / 1.225 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007357/1.024, allocations: 456.4 kB / 1.225 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.289e-06/1.024, allocations: 4 kB / 1.225 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009834/1.025, allocations: 0.5164 MB / 1.225 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.025, allocations: 7.938 kB / 1.226 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/1.025, allocations: 4 kB / 1.226 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/1.025, allocations: 11.92 kB / 1.226 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/1.025, allocations: 115.9 kB / 1.226 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.025, allocations: 7.984 kB / 1.226 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006128/1.026, allocations: 79.59 kB / 1.226 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/1.026, allocations: 20 kB / 1.226 GB, free: 11.57 MB / 0.9825 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.0002212/1.026, allocations: 204.1 kB / 1.226 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/1.026, allocations: 67.19 kB / 1.226 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/1.027, allocations: 490.9 kB / 1.226 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/1.027, allocations: 4 kB / 1.226 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.028, allocations: 3.938 kB / 1.226 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00137/1.029, allocations: 0.7027 MB / 1.227 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/1.031, allocations: 1.28 MB / 1.228 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/1.031, allocations: 4 kB / 1.228 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/1.032, allocations: 123.8 kB / 1.229 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/1.032, allocations: 4 kB / 1.229 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/1.032, allocations: 19.98 kB / 1.229 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004456/1.033, allocations: 0.5901 MB / 1.229 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.033, allocations: 0 / 1.229 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/1.034, allocations: 0.7945 MB / 1.23 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/1.035, allocations: 184.3 kB / 1.23 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.582e-05/1.035, allocations: 11.94 kB / 1.23 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/1.035, allocations: 45.5 kB / 1.23 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.035, allocations: 35.84 kB / 1.23 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/1.035, allocations: 19.98 kB / 1.23 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004658/1.036, allocations: 354.8 kB / 1.231 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.036, allocations: 0 / 1.231 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001214/1.037, allocations: 367 kB / 1.231 GB, free: 6.055 MB / 0.9825 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.0005728/1.038, allocations: 201.1 kB / 1.231 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001703/1.039, allocations: 0.723 MB / 1.232 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.039, allocations: 0 / 1.232 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005375/1.04, allocations: 219.9 kB / 1.232 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/1.042, allocations: 360 kB / 1.232 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/1.044, allocations: 1.642 MB / 1.234 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007255/1.045, allocations: 0.9496 MB / 1.235 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008071/1.046, allocations: 200.9 kB / 1.235 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/1.046, allocations: 47.44 kB / 1.235 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of SimCode: time 1.273e-06/1.046, allocations: 4 kB / 1.235 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of Templates: time 0.02671/1.073, allocations: 12.28 MB / 1.247 GB, free: 5.57 MB / 0.9981 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches