Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001234/0.001234, allocations: 176.1 kB / 498.1 MB, free: 5.742 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.562/1.562, allocations: 223.2 MB / 0.7949 GB, free: 17.95 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.001105/0.001104, allocations: 104.1 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003682, allocations: 10 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3205, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.448/4.768, allocations: 1.978 GB / 3.201 GB, free: 9.918 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004087/4.769, allocations: 104.9 kB / 3.201 GB, free: 9.859 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.89/7.659, allocations: 0.639 GB / 3.84 GB, free: 281.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.844e-06/7.659, allocations: 0 / 3.84 GB, free: 281.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002298/7.659, allocations: 39.77 kB / 3.84 GB, free: 281.2 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.006203/7.665, allocations: 1.639 MB / 3.842 GB, free: 279.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/7.665, allocations: 12.75 kB / 3.842 GB, free: 279.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/7.668, allocations: 317 kB / 3.842 GB, free: 279.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/7.672, allocations: 1.203 MB / 3.843 GB, free: 278.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.921e-05/7.672, allocations: 88.81 kB / 3.843 GB, free: 278.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/7.672, allocations: 107.9 kB / 3.843 GB, free: 278 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/7.674, allocations: 1.152 MB / 3.844 GB, free: 276.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/7.674, allocations: 3.594 kB / 3.844 GB, free: 276.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/7.674, allocations: 44 kB / 3.844 GB, free: 276.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/7.674, allocations: 34 kB / 3.844 GB, free: 276.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/7.675, allocations: 0.9173 MB / 3.845 GB, free: 275.8 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.005479/7.681, allocations: 4.723 MB / 3.85 GB, free: 270.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/7.682, allocations: 0.6971 MB / 3.851 GB, free: 270.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005296/7.682, allocations: 310.8 kB / 3.851 GB, free: 269.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/7.682, allocations: 50.06 kB / 3.851 GB, free: 269.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=68): time 2.474e-06/7.682, allocations: 0 / 3.851 GB, free: 269.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=68): time 0.001786/7.684, allocations: 0.985 MB / 3.852 GB, free: 268.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/7.684, allocations: 111.4 kB / 3.852 GB, free: 268.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/7.685, allocations: 0.6964 MB / 3.853 GB, free: 267.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/7.685, allocations: 37.7 kB / 3.853 GB, free: 267.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/7.686, allocations: 0.5372 MB / 3.853 GB, free: 267.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/7.686, allocations: 244 kB / 3.854 GB, free: 267 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/7.686, allocations: 16 kB / 3.854 GB, free: 267 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.346e-05/7.686, allocations: 337.9 kB / 3.854 GB, free: 266.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/7.686, allocations: 281.8 kB / 3.854 GB, free: 266.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/7.687, allocations: 0.5143 MB / 3.855 GB, free: 265.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/7.687, allocations: 365.3 kB / 3.855 GB, free: 265.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/7.687, allocations: 4 kB / 3.855 GB, free: 265.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00118/7.689, allocations: 0.8814 MB / 3.856 GB, free: 264.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004365/7.689, allocations: 1.756 MB / 3.858 GB, free: 262.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/7.689, allocations: 8 kB / 3.858 GB, free: 262.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/7.689, allocations: 10.38 kB / 3.858 GB, free: 262.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/7.69, allocations: 183.7 kB / 3.858 GB, free: 262.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003325/7.69, allocations: 0.6012 MB / 3.858 GB, free: 261.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/7.691, allocations: 145.4 kB / 3.859 GB, free: 261.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/7.691, allocations: 35.94 kB / 3.859 GB, free: 261.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/7.691, allocations: 4 kB / 3.859 GB, free: 261.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/7.692, allocations: 0.7748 MB / 3.859 GB, free: 260.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/7.692, allocations: 4 kB / 3.859 GB, free: 260.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/7.692, allocations: 12 kB / 3.859 GB, free: 260.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/7.693, allocations: 167.7 kB / 3.859 GB, free: 260.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/7.693, allocations: 10.62 kB / 3.859 GB, free: 260.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008581/7.694, allocations: 140.8 kB / 3.86 GB, free: 260.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/7.694, allocations: 32 kB / 3.86 GB, free: 260.6 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.0007527/7.695, allocations: 413.5 kB / 3.86 GB, free: 260.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/7.695, allocations: 102.8 kB / 3.86 GB, free: 260 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/7.696, allocations: 0.7696 MB / 3.861 GB, free: 259.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/7.696, allocations: 8 kB / 3.861 GB, free: 259.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/7.696, allocations: 0 / 3.861 GB, free: 259.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008911/7.697, allocations: 0.8735 MB / 3.862 GB, free: 258.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/7.7, allocations: 2.093 MB / 3.864 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/7.7, allocations: 4 kB / 3.864 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/7.701, allocations: 163.2 kB / 3.864 GB, free: 256 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/7.701, allocations: 8 kB / 3.864 GB, free: 256 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/7.701, allocations: 23.92 kB / 3.864 GB, free: 255.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002314/7.701, allocations: 0.5975 MB / 3.865 GB, free: 255.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/7.701, allocations: 15.12 kB / 3.865 GB, free: 255.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/7.703, allocations: 1.351 MB / 3.866 GB, free: 253.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/7.703, allocations: 255.7 kB / 3.866 GB, free: 253.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/7.703, allocations: 20 kB / 3.866 GB, free: 253.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/7.704, allocations: 77.62 kB / 3.866 GB, free: 253.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/7.704, allocations: 52.2 kB / 3.866 GB, free: 253.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/7.704, allocations: 23.98 kB / 3.866 GB, free: 253.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006869/7.705, allocations: 0.5382 MB / 3.867 GB, free: 252.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/7.705, allocations: 0 / 3.867 GB, free: 252.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00234/7.707, allocations: 0.7523 MB / 3.868 GB, free: 252.1 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.002824/7.71, allocations: 1.844 MB / 3.869 GB, free: 250.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001979/7.712, allocations: 1.133 MB / 3.87 GB, free: 249.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/7.712, allocations: 0 / 3.87 GB, free: 249.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004824/7.713, allocations: 357.8 kB / 3.871 GB, free: 249.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/7.715, allocations: 476.7 kB / 3.871 GB, free: 248.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/7.719, allocations: 2.766 MB / 3.874 GB, free: 246.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/7.719, allocations: 1.194 MB / 3.875 GB, free: 244.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001178/7.72, allocations: 347.2 kB / 3.875 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/7.721, allocations: 79.42 kB / 3.876 GB, free: 244.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.022e-06/7.721, allocations: 0 / 3.876 GB, free: 244.5 MB / 1.167 GB Notification: Performance of Templates: time 0.05201/7.773, allocations: 38 MB / 3.913 GB, free: 207.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches