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.037/2.037, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001072/0.001072, allocations: 180.9 kB / 487.4 MB, free: 5.035 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.425/1.425, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008836/0.0008838, allocations: 93.41 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.263e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2875, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.68/4.967, allocations: 1.977 GB / 3.183 GB, free: 373.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/4.968, allocations: 97.25 kB / 3.183 GB, free: 373.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.652/6.62, allocations: 0.6313 GB / 3.815 GB, free: 168 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.452e-06/6.62, allocations: 0 / 3.815 GB, free: 168 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001313/6.62, allocations: 31.91 kB / 3.815 GB, free: 167.9 MB / 1.151 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.00338/6.623, allocations: 1.469 MB / 3.816 GB, free: 166.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/6.623, allocations: 24 kB / 3.816 GB, free: 166.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/6.625, allocations: 317.6 kB / 3.816 GB, free: 166.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/6.628, allocations: 1.188 MB / 3.818 GB, free: 164.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/6.628, allocations: 32 kB / 3.818 GB, free: 164.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/6.629, allocations: 64 kB / 3.818 GB, free: 164.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001559/6.63, allocations: 0.8161 MB / 3.819 GB, free: 164 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/6.632, allocations: 0.9852 MB / 3.819 GB, free: 163 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/6.632, allocations: 7.891 kB / 3.819 GB, free: 162.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.631e-05/6.632, allocations: 0 / 3.819 GB, free: 162.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/6.632, allocations: 38 kB / 3.82 GB, free: 162.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005433/6.638, allocations: 4.512 MB / 3.824 GB, free: 158 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008419/6.639, allocations: 0.6306 MB / 3.825 GB, free: 157.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/6.639, allocations: 332.2 kB / 3.825 GB, free: 157.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004803/6.639, allocations: 316.7 kB / 3.825 GB, free: 156.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/6.639, allocations: 51.08 kB / 3.825 GB, free: 156.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 2.054e-06/6.639, allocations: 0 / 3.825 GB, free: 156.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.00159/6.641, allocations: 0.7321 MB / 3.826 GB, free: 155.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/6.641, allocations: 115.3 kB / 3.826 GB, free: 155.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006804/6.642, allocations: 0.5669 MB / 3.827 GB, free: 155.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/6.642, allocations: 25.7 kB / 3.827 GB, free: 155.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/6.642, allocations: 0.5305 MB / 3.827 GB, free: 154.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/6.642, allocations: 232.5 kB / 3.827 GB, free: 154.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/6.642, allocations: 0 / 3.827 GB, free: 154.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/6.642, allocations: 338 kB / 3.828 GB, free: 154 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/6.643, allocations: 249.5 kB / 3.828 GB, free: 153.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/6.643, allocations: 485.5 kB / 3.828 GB, free: 153.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/6.644, allocations: 416.3 kB / 3.829 GB, free: 152.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/6.644, allocations: 0 / 3.829 GB, free: 152.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001371/6.645, allocations: 0.8582 MB / 3.83 GB, free: 152 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004012/6.646, allocations: 1.757 MB / 3.831 GB, free: 150.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/6.646, allocations: 4 kB / 3.831 GB, free: 150.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/6.646, allocations: 8 kB / 3.831 GB, free: 150.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/6.647, allocations: 181.7 kB / 3.832 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002838/6.647, allocations: 0.6094 MB / 3.832 GB, free: 149.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009538/6.648, allocations: 119.3 kB / 3.832 GB, free: 149.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/6.648, allocations: 39.98 kB / 3.832 GB, free: 149.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/6.648, allocations: 4 kB / 3.832 GB, free: 149.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001087/6.649, allocations: 0.7325 MB / 3.833 GB, free: 148.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/6.649, allocations: 4 kB / 3.833 GB, free: 148.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/6.649, allocations: 8 kB / 3.833 GB, free: 148.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/6.65, allocations: 179.7 kB / 3.833 GB, free: 148.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/6.65, allocations: 20.45 kB / 3.833 GB, free: 148.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008354/6.651, allocations: 107.4 kB / 3.833 GB, free: 148 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/6.651, allocations: 36 kB / 3.833 GB, free: 148 MB / 1.151 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 () * 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.0001529/6.651, allocations: 128.7 kB / 3.833 GB, free: 147.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/6.651, allocations: 102.8 kB / 3.834 GB, free: 147.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/6.652, allocations: 0.7582 MB / 3.834 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/6.652, allocations: 4 kB / 3.834 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/6.652, allocations: 0 / 3.834 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009247/6.653, allocations: 0.8788 MB / 3.835 GB, free: 146 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/6.656, allocations: 1.957 MB / 3.837 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/6.656, allocations: 0 / 3.837 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006761/6.657, allocations: 164.1 kB / 3.837 GB, free: 143.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/6.657, allocations: 4 kB / 3.837 GB, free: 143.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/6.657, allocations: 12 kB / 3.837 GB, free: 143.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000172/6.657, allocations: 0.5899 MB / 3.838 GB, free: 143.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/6.657, allocations: 7.969 kB / 3.838 GB, free: 143.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/6.658, allocations: 1.331 MB / 3.839 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/6.659, allocations: 247.7 kB / 3.839 GB, free: 141.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/6.659, allocations: 15.92 kB / 3.839 GB, free: 141.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/6.66, allocations: 67.84 kB / 3.839 GB, free: 141.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/6.66, allocations: 48.45 kB / 3.839 GB, free: 141.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/6.66, allocations: 20 kB / 3.839 GB, free: 141.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004379/6.66, allocations: 439.1 kB / 3.84 GB, free: 140.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.51e-07/6.66, allocations: 0 / 3.84 GB, free: 140.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001699/6.662, allocations: 0.6661 MB / 3.841 GB, free: 140.3 MB / 1.151 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 () * 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.002332/6.664, allocations: 2.076 MB / 3.843 GB, free: 138.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001525/6.666, allocations: 1.042 MB / 3.844 GB, free: 137.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/6.666, allocations: 4.875 kB / 3.844 GB, free: 137.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003885/6.666, allocations: 330.2 kB / 3.844 GB, free: 136.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/6.668, allocations: 417.1 kB / 3.844 GB, free: 136.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/6.671, allocations: 1.737 MB / 3.846 GB, free: 134.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/6.671, allocations: 1.195 MB / 3.847 GB, free: 133.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001244/6.672, allocations: 395.1 kB / 3.848 GB, free: 132.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/6.673, allocations: 63.44 kB / 3.848 GB, free: 132.9 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/6.673, allocations: 4 kB / 3.848 GB, free: 132.9 MB / 1.151 GB Notification: Performance of Templates: time 0.03501/6.708, allocations: 26.56 MB / 3.874 GB, free: 106.5 MB / 1.151 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