Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|conVolFlo.y|conMasVolFra.V",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|conVolFlo.y|conMasVolFra.V",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.000962, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007907/0.007907, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.858/2.858, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003967, allocations: 8 kB / 0.8728 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.7179, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2362/0.9542, allocations: 193.1 MB / 1.212 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.9714, allocations: 10.82 MB / 1.222 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.9729, allocations: 39.75 kB / 1.222 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.9744, allocations: 449.4 kB / 1.223 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.9792, allocations: 1.684 MB / 1.224 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.9823, allocations: 1.053 MB / 1.225 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005326/0.9876, allocations: 3.739 MB / 1.229 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.9897, allocations: 1.002 MB / 1.23 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004839/0.9945, allocations: 1.404 MB / 1.231 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.9968, allocations: 0.9335 MB / 1.232 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.9971, allocations: 52 kB / 1.232 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/1.001, allocations: 1.894 MB / 1.234 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006939/1.002, allocations: 454.6 kB / 1.235 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000992/1.003, allocations: 0.6467 MB / 1.235 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003806/1.007, allocations: 2.332 MB / 1.238 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.007, allocations: 4 kB / 1.238 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.774e-06/1.007, allocations: 0 / 1.238 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.885e-05/1.007, allocations: 0 / 1.238 GB, free: 3.441 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002923/1.01, allocations: 1.445 MB / 1.239 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 9.224e-05/1.01, allocations: 8.031 kB / 1.239 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/1.012, allocations: 322 kB / 1.239 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/1.014, allocations: 0.8781 MB / 1.24 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/1.014, allocations: 74 kB / 1.24 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/1.014, allocations: 108 kB / 1.24 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6847/1.699, allocations: 1.167 MB / 1.241 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/1.699, allocations: 0.9062 kB / 1.241 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/1.699, allocations: 42.83 kB / 1.241 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-05/1.699, allocations: 37.34 kB / 1.242 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/1.702, allocations: 0.9418 MB / 1.242 GB, free: 14.9 MB / 0.9825 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.007652/1.709, allocations: 4.717 MB / 1.247 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/1.711, allocations: 0.7178 MB / 1.248 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009506/1.712, allocations: 389.8 kB / 1.248 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008041/1.713, allocations: 334.8 kB / 1.248 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/1.713, allocations: 42.59 kB / 1.248 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=68): time 4.368e-06/1.713, allocations: 0 / 1.248 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=68): time 0.003114/1.716, allocations: 1.01 MB / 1.249 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.716, allocations: 59.39 kB / 1.25 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/1.718, allocations: 0.7927 MB / 1.25 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.859e-05/1.718, allocations: 38.3 kB / 1.25 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/1.719, allocations: 0.5391 MB / 1.251 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/1.719, allocations: 242.2 kB / 1.251 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/1.719, allocations: 67.89 kB / 1.251 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/1.719, allocations: 335 kB / 1.251 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007311/1.72, allocations: 294.6 kB / 1.252 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/1.721, allocations: 0.4919 MB / 1.252 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/1.722, allocations: 0.7938 MB / 1.253 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.722, allocations: 1.75 kB / 1.253 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001824/1.724, allocations: 0.9118 MB / 1.254 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/1.724, allocations: 229.7 kB / 1.254 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/1.724, allocations: 4.906 kB / 1.254 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/1.724, allocations: 11.16 kB / 1.254 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.725, allocations: 185.4 kB / 1.254 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003081/1.725, allocations: 0.5977 MB / 1.255 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.727, allocations: 144.9 kB / 1.255 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/1.727, allocations: 30.91 kB / 1.255 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/1.727, allocations: 3.344 kB / 1.255 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001724/1.728, allocations: 0.7965 MB / 1.256 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.728, allocations: 4.469 kB / 1.256 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.728, allocations: 9.344 kB / 1.256 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007701/1.729, allocations: 165.3 kB / 1.256 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/1.729, allocations: 15.45 kB / 1.256 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009975/1.73, allocations: 125.3 kB / 1.256 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/1.73, allocations: 30.88 kB / 1.256 GB, free: 9.449 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.00075/1.731, allocations: 414.4 kB / 1.257 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/1.731, allocations: 100.6 kB / 1.257 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/1.733, allocations: 0.7918 MB / 1.257 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.733, allocations: 7.094 kB / 1.257 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.733, allocations: 0 / 1.257 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001039/1.734, allocations: 0.8806 MB / 1.258 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/1.737, allocations: 2.157 MB / 1.26 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.737, allocations: 2.188 kB / 1.26 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/1.738, allocations: 151.8 kB / 1.261 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/1.738, allocations: 12.44 kB / 1.261 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/1.738, allocations: 21.03 kB / 1.261 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002065/1.738, allocations: 0.5961 MB / 1.261 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.738, allocations: 3.094 kB / 1.261 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/1.74, allocations: 1.282 MB / 1.262 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004859/1.741, allocations: 254.1 kB / 1.263 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/1.741, allocations: 23.62 kB / 1.263 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006827/1.741, allocations: 68.05 kB / 1.263 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.742, allocations: 52.52 kB / 1.263 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/1.742, allocations: 26.91 kB / 1.263 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007978/1.742, allocations: 0.5419 MB / 1.263 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/1.742, allocations: 4 kB / 1.263 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00172/1.744, allocations: 0.5621 MB / 1.264 GB, free: 7.02 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (68): * Single equations (assignments): 67 * 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.0006075/1.745, allocations: 223.7 kB / 1.264 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002389/1.747, allocations: 1.159 MB / 1.265 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/1.747, allocations: 1.562 kB / 1.265 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006003/1.748, allocations: 370.8 kB / 1.266 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/1.751, allocations: 486.3 kB / 1.266 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/1.754, allocations: 2.843 MB / 1.269 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/1.755, allocations: 1.172 MB / 1.27 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0015/1.757, allocations: 360.2 kB / 1.27 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/1.757, allocations: 83.08 kB / 1.27 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/1.757, allocations: 0 / 1.27 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.02908/1.786, allocations: 16.8 MB / 1.287 GB, free: 3.582 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches