Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.358/2.358, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 195.9 kB / 0.4902 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.2 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00089/0.00089, allocations: 104.1 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000558/0.0005582, allocations: 10.91 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3076, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.969/6.277, allocations: 1.979 GB / 3.208 GB, free: 335.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004694/6.277, allocations: 98.98 kB / 3.208 GB, free: 335.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.508/8.785, allocations: 0.639 GB / 3.847 GB, free: 223 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.405e-06/8.786, allocations: 4 kB / 3.847 GB, free: 223 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002561/8.786, allocations: 28 kB / 3.847 GB, free: 223 MB / 1.167 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.007122/8.793, allocations: 1.652 MB / 3.849 GB, free: 221.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/8.793, allocations: 12.03 kB / 3.849 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002882/8.796, allocations: 317.2 kB / 3.849 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00469/8.801, allocations: 1.203 MB / 3.85 GB, free: 219.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/8.801, allocations: 78 kB / 3.85 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005169/8.801, allocations: 107.9 kB / 3.85 GB, free: 219.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/8.805, allocations: 1.164 MB / 3.852 GB, free: 218.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/8.805, allocations: 0 / 3.852 GB, free: 218.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/8.805, allocations: 44.34 kB / 3.852 GB, free: 218.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/8.805, allocations: 41.89 kB / 3.852 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/8.807, allocations: 0.9173 MB / 3.853 GB, free: 217.3 MB / 1.167 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.005984/8.813, allocations: 4.71 MB / 3.857 GB, free: 212.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/8.814, allocations: 0.7144 MB / 3.858 GB, free: 211.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005572/8.814, allocations: 319.7 kB / 3.858 GB, free: 211.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/8.814, allocations: 43.12 kB / 3.858 GB, free: 211.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=68): time 2.936e-06/8.814, allocations: 0 / 3.858 GB, free: 211.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=68): time 0.001913/8.816, allocations: 0.9819 MB / 3.859 GB, free: 210.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/8.816, allocations: 111.4 kB / 3.859 GB, free: 209.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008847/8.817, allocations: 0.6964 MB / 3.86 GB, free: 209.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/8.817, allocations: 37.7 kB / 3.86 GB, free: 209.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/8.818, allocations: 0.5345 MB / 3.86 GB, free: 208.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/8.818, allocations: 248.5 kB / 3.861 GB, free: 208.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/8.818, allocations: 12 kB / 3.861 GB, free: 208.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001164/8.818, allocations: 338 kB / 3.861 GB, free: 208 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/8.819, allocations: 277.8 kB / 3.861 GB, free: 207.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/8.819, allocations: 0.5205 MB / 3.862 GB, free: 207.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/8.82, allocations: 363.7 kB / 3.862 GB, free: 206.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/8.82, allocations: 0 / 3.862 GB, free: 206.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001262/8.821, allocations: 0.8905 MB / 3.863 GB, free: 205.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006415/8.822, allocations: 1.754 MB / 3.865 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/8.822, allocations: 4 kB / 3.865 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/8.822, allocations: 8 kB / 3.865 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/8.822, allocations: 175.8 kB / 3.865 GB, free: 203.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003783/8.823, allocations: 0.6132 MB / 3.866 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/8.824, allocations: 143.2 kB / 3.866 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/8.824, allocations: 31.98 kB / 3.866 GB, free: 203 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/8.824, allocations: 4 kB / 3.866 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/8.825, allocations: 0.7763 MB / 3.866 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/8.825, allocations: 7.984 kB / 3.866 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/8.825, allocations: 12.59 kB / 3.866 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/8.826, allocations: 167.8 kB / 3.867 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/8.826, allocations: 11.94 kB / 3.867 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008403/8.827, allocations: 143.2 kB / 3.867 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/8.827, allocations: 31.98 kB / 3.867 GB, free: 201.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007725/8.828, allocations: 413.6 kB / 3.867 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/8.828, allocations: 106.8 kB / 3.867 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/8.829, allocations: 0.7743 MB / 3.868 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/8.829, allocations: 4 kB / 3.868 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/8.829, allocations: 0 / 3.868 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009661/8.83, allocations: 0.8671 MB / 3.869 GB, free: 199.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/8.833, allocations: 2.1 MB / 3.871 GB, free: 197.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/8.833, allocations: 4 kB / 3.871 GB, free: 197.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/8.834, allocations: 164 kB / 3.871 GB, free: 197.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/8.834, allocations: 7.953 kB / 3.871 GB, free: 197.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/8.834, allocations: 23.98 kB / 3.871 GB, free: 197.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000288/8.834, allocations: 0.5938 MB / 3.872 GB, free: 196.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/8.834, allocations: 7.938 kB / 3.872 GB, free: 196.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/8.836, allocations: 1.354 MB / 3.873 GB, free: 195.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/8.836, allocations: 251.7 kB / 3.873 GB, free: 194.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/8.837, allocations: 27.98 kB / 3.873 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006496/8.837, allocations: 83.73 kB / 3.873 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/8.837, allocations: 36.52 kB / 3.873 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/8.837, allocations: 31.98 kB / 3.873 GB, free: 194.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006567/8.838, allocations: 0.5382 MB / 3.874 GB, free: 194.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/8.838, allocations: 0 / 3.874 GB, free: 194.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002695/8.841, allocations: 0.7367 MB / 3.875 GB, free: 193.4 MB / 1.167 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003318/8.844, allocations: 1.864 MB / 3.877 GB, free: 191.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002108/8.846, allocations: 1.126 MB / 3.878 GB, free: 190.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/8.846, allocations: 0 / 3.878 GB, free: 190.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004827/8.847, allocations: 360.1 kB / 3.878 GB, free: 190 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/8.849, allocations: 476 kB / 3.878 GB, free: 189.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/8.853, allocations: 2.751 MB / 3.881 GB, free: 186.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006949/8.854, allocations: 1.198 MB / 3.882 GB, free: 185.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001203/8.855, allocations: 339.8 kB / 3.883 GB, free: 185.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/8.855, allocations: 87.42 kB / 3.883 GB, free: 185.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.683e-06/8.855, allocations: 0 / 3.883 GB, free: 185.1 MB / 1.167 GB Notification: Performance of Templates: time 0.05738/8.912, allocations: 38 MB / 3.92 GB, free: 147.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches