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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001058/0.001058, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.001571, allocations: 174.9 kB / 16.92 MB, free: 6.652 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.475/1.475, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004182, allocations: 8 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7111/0.7116, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2075/0.9191, allocations: 193.1 MB / 1.212 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01603/0.9352, allocations: 10.83 MB / 1.223 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.9371, allocations: 39.75 kB / 1.223 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.9389, allocations: 453.4 kB / 1.223 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004989/0.9439, allocations: 1.681 MB / 1.225 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.9473, allocations: 1.048 MB / 1.226 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00478/0.9521, allocations: 3.744 MB / 1.23 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.9539, allocations: 0.9977 MB / 1.231 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004793/0.9588, allocations: 1.408 MB / 1.232 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.9608, allocations: 0.9325 MB / 1.233 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.9611, allocations: 52 kB / 1.233 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/0.9648, allocations: 1.898 MB / 1.235 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005971/0.9654, allocations: 458.6 kB / 1.235 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009393/0.9664, allocations: 0.6389 MB / 1.236 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.9689, allocations: 1.715 MB / 1.238 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.9689, allocations: 0 / 1.238 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9689, allocations: 0 / 1.238 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.919e-05/0.969, allocations: 0 / 1.238 GB, free: 4.043 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.002723/0.9717, allocations: 1.438 MB / 1.239 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9718, allocations: 8.031 kB / 1.239 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.9736, allocations: 322 kB / 1.239 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.9753, allocations: 0.8665 MB / 1.24 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.716e-05/0.9754, allocations: 82 kB / 1.24 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.9755, allocations: 104 kB / 1.24 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6679/1.643, allocations: 1.174 MB / 1.241 GB, free: 218 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.423e-05/1.644, allocations: 4.688 kB / 1.241 GB, free: 218 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/1.644, allocations: 40.81 kB / 1.242 GB, free: 218 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.769e-05/1.644, allocations: 37.89 kB / 1.242 GB, free: 218 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/1.646, allocations: 0.9374 MB / 1.242 GB, free: 218 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.006349/1.652, allocations: 4.714 MB / 1.247 GB, free: 214.6 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/1.654, allocations: 0.7303 MB / 1.248 GB, free: 214.4 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006663/1.655, allocations: 395.2 kB / 1.248 GB, free: 214.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006201/1.655, allocations: 328.8 kB / 1.248 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/1.655, allocations: 39.69 kB / 1.249 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=68): time 2.695e-06/1.655, allocations: 1.75 kB / 1.249 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=68): time 0.002366/1.658, allocations: 1.008 MB / 1.249 GB, free: 213.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/1.658, allocations: 58.72 kB / 1.25 GB, free: 213.4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/1.659, allocations: 0.7937 MB / 1.25 GB, free: 213.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.663e-05/1.659, allocations: 41.8 kB / 1.25 GB, free: 213.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/1.66, allocations: 0.536 MB / 1.251 GB, free: 212.6 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/1.66, allocations: 241.4 kB / 1.251 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/1.66, allocations: 72.12 kB / 1.251 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/1.66, allocations: 338.3 kB / 1.252 GB, free: 212.1 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005803/1.661, allocations: 286.1 kB / 1.252 GB, free: 212 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007302/1.661, allocations: 0.4955 MB / 1.252 GB, free: 211.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/1.663, allocations: 0.7917 MB / 1.253 GB, free: 211.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-06/1.663, allocations: 5.062 kB / 1.253 GB, free: 211.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001755/1.664, allocations: 0.9044 MB / 1.254 GB, free: 210.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/1.665, allocations: 228.6 kB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/1.665, allocations: 6.719 kB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/1.665, allocations: 9.797 kB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009776/1.666, allocations: 185.8 kB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003104/1.666, allocations: 0.6092 MB / 1.255 GB, free: 210 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/1.667, allocations: 141 kB / 1.255 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/1.667, allocations: 31.09 kB / 1.255 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/1.667, allocations: 4.844 kB / 1.255 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001735/1.669, allocations: 0.7954 MB / 1.256 GB, free: 209.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.669, allocations: 4.938 kB / 1.256 GB, free: 209.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/1.669, allocations: 8.469 kB / 1.256 GB, free: 209.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008087/1.67, allocations: 167.5 kB / 1.256 GB, free: 209.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/1.67, allocations: 12.72 kB / 1.256 GB, free: 209.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/1.671, allocations: 129.9 kB / 1.256 GB, free: 209.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-05/1.671, allocations: 35.27 kB / 1.256 GB, free: 209.5 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.0008331/1.672, allocations: 403.9 kB / 1.257 GB, free: 209.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/1.672, allocations: 100.1 kB / 1.257 GB, free: 209.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/1.674, allocations: 0.7896 MB / 1.257 GB, free: 208.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.674, allocations: 6.562 kB / 1.257 GB, free: 208.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.674, allocations: 1.891 kB / 1.257 GB, free: 208.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/1.675, allocations: 0.8734 MB / 1.258 GB, free: 208.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00419/1.679, allocations: 2.175 MB / 1.26 GB, free: 207.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.679, allocations: 2.906 kB / 1.26 GB, free: 207.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007323/1.68, allocations: 146.5 kB / 1.261 GB, free: 207.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.779e-06/1.68, allocations: 8.25 kB / 1.261 GB, free: 207.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/1.68, allocations: 20.5 kB / 1.261 GB, free: 207.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002269/1.68, allocations: 0.5898 MB / 1.261 GB, free: 206.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.68, allocations: 6.062 kB / 1.261 GB, free: 206.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/1.682, allocations: 1.287 MB / 1.262 GB, free: 205.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004856/1.683, allocations: 252.7 kB / 1.263 GB, free: 205.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/1.683, allocations: 16.41 kB / 1.263 GB, free: 205.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006379/1.684, allocations: 72.33 kB / 1.263 GB, free: 205.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/1.684, allocations: 52.69 kB / 1.263 GB, free: 205.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/1.684, allocations: 23.23 kB / 1.263 GB, free: 205.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007889/1.684, allocations: 0.5453 MB / 1.263 GB, free: 205.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/1.684, allocations: 0 / 1.263 GB, free: 205.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001763/1.686, allocations: 0.5637 MB / 1.264 GB, free: 205.4 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.0005797/1.687, allocations: 232.5 kB / 1.264 GB, free: 205.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002361/1.689, allocations: 1.162 MB / 1.265 GB, free: 204.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.689, allocations: 1.531 kB / 1.265 GB, free: 204.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006861/1.69, allocations: 369.9 kB / 1.266 GB, free: 204.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/1.693, allocations: 491.6 kB / 1.266 GB, free: 204.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/1.697, allocations: 2.907 MB / 1.269 GB, free: 202.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008786/1.698, allocations: 1.168 MB / 1.27 GB, free: 202.1 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/1.699, allocations: 91.59 kB / 1.27 GB, free: 202.1 MB / 0.9825 GB Notification: Performance of SimCode: time 9.82e-07/1.699, allocations: 3.938 kB / 1.27 GB, free: 202.1 MB / 0.9825 GB Notification: Performance of Templates: time 0.02672/1.725, allocations: 21.04 MB / 1.291 GB, free: 184.4 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=480 -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/jenkins1/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