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.454/2.454, allocations: 390.5 MB / 398 MB, free: 10.94 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.001476/0.001476, allocations: 183.8 kB / 491.2 MB, free: 1.566 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.591/1.591, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001145/0.001145, allocations: 95.95 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.519e-05/1.521e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2924, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.244/5.537, allocations: 1.978 GB / 3.19 GB, free: 350 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/5.537, allocations: 95.94 kB / 3.191 GB, free: 349.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.032/7.57, allocations: 0.6313 GB / 3.822 GB, free: 141.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.494e-06/7.57, allocations: 0 / 3.822 GB, free: 141.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001114/7.57, allocations: 32 kB / 3.822 GB, free: 141.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.003821/7.574, allocations: 1.48 MB / 3.823 GB, free: 140.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/7.574, allocations: 8.031 kB / 3.823 GB, free: 140.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/7.576, allocations: 318 kB / 3.824 GB, free: 140 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/7.578, allocations: 1.187 MB / 3.825 GB, free: 138.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/7.578, allocations: 36 kB / 3.825 GB, free: 138.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/7.579, allocations: 64.34 kB / 3.825 GB, free: 138.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001332/7.58, allocations: 0.82 MB / 3.826 GB, free: 137.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/7.581, allocations: 0.981 MB / 3.827 GB, free: 136.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/7.581, allocations: 3.938 kB / 3.827 GB, free: 136.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.743e-05/7.582, allocations: 0 / 3.827 GB, free: 136.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/7.582, allocations: 41.92 kB / 3.827 GB, free: 136.8 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.004179/7.586, allocations: 4.515 MB / 3.831 GB, free: 131.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007845/7.587, allocations: 0.6266 MB / 3.832 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/7.587, allocations: 335 kB / 3.832 GB, free: 130.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004774/7.587, allocations: 311.8 kB / 3.832 GB, free: 130.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/7.587, allocations: 43.06 kB / 3.832 GB, free: 130.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 2.475e-06/7.587, allocations: 0 / 3.832 GB, free: 130.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.001442/7.589, allocations: 0.74 MB / 3.833 GB, free: 129.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/7.589, allocations: 107.4 kB / 3.833 GB, free: 129.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/7.59, allocations: 0.563 MB / 3.834 GB, free: 129.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/7.59, allocations: 25.7 kB / 3.834 GB, free: 129.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/7.59, allocations: 0.5305 MB / 3.834 GB, free: 128.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/7.59, allocations: 240.5 kB / 3.834 GB, free: 128.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/7.59, allocations: 0 / 3.834 GB, free: 128.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.373e-05/7.59, allocations: 337.9 kB / 3.835 GB, free: 127.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/7.59, allocations: 245.5 kB / 3.835 GB, free: 127.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/7.591, allocations: 486.8 kB / 3.835 GB, free: 127.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006422/7.592, allocations: 416.2 kB / 3.836 GB, free: 126.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/7.592, allocations: 4 kB / 3.836 GB, free: 126.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001233/7.593, allocations: 0.8624 MB / 3.837 GB, free: 125.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00034/7.593, allocations: 1.753 MB / 3.838 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/7.593, allocations: 4 kB / 3.838 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/7.593, allocations: 8 kB / 3.838 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/7.594, allocations: 181.7 kB / 3.839 GB, free: 123.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000289/7.594, allocations: 0.6094 MB / 3.839 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009527/7.595, allocations: 123.3 kB / 3.839 GB, free: 123 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/7.595, allocations: 36 kB / 3.839 GB, free: 123 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/7.595, allocations: 8 kB / 3.839 GB, free: 123 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001072/7.596, allocations: 0.7407 MB / 3.84 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/7.596, allocations: 4 kB / 3.84 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.617e-06/7.596, allocations: 8 kB / 3.84 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/7.597, allocations: 171.7 kB / 3.84 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/7.597, allocations: 15.97 kB / 3.84 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008486/7.598, allocations: 111.5 kB / 3.84 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/7.598, allocations: 31.98 kB / 3.84 GB, free: 121.9 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.0001811/7.598, allocations: 132.7 kB / 3.841 GB, free: 121.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/7.598, allocations: 94.88 kB / 3.841 GB, free: 121.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/7.6, allocations: 0.7582 MB / 3.841 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/7.6, allocations: 15.92 kB / 3.841 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/7.6, allocations: 0 / 3.841 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009376/7.601, allocations: 0.8632 MB / 3.842 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/7.604, allocations: 1.962 MB / 3.844 GB, free: 117.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/7.604, allocations: 4 kB / 3.844 GB, free: 117.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006967/7.604, allocations: 155.8 kB / 3.844 GB, free: 117.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/7.604, allocations: 12.27 kB / 3.844 GB, free: 117.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/7.604, allocations: 11.98 kB / 3.844 GB, free: 117.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002047/7.605, allocations: 0.6016 MB / 3.845 GB, free: 117.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/7.605, allocations: 7.938 kB / 3.845 GB, free: 117.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/7.606, allocations: 1.335 MB / 3.846 GB, free: 115.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/7.606, allocations: 251.7 kB / 3.846 GB, free: 115.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/7.607, allocations: 8 kB / 3.846 GB, free: 115.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/7.607, allocations: 59.84 kB / 3.847 GB, free: 115.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/7.607, allocations: 52.39 kB / 3.847 GB, free: 115.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/7.607, allocations: 27.98 kB / 3.847 GB, free: 115.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004931/7.608, allocations: 431.1 kB / 3.847 GB, free: 114.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/7.608, allocations: 0 / 3.847 GB, free: 114.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001884/7.61, allocations: 0.6661 MB / 3.848 GB, free: 114.2 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.002827/7.613, allocations: 2.064 MB / 3.85 GB, free: 112 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001795/7.614, allocations: 1.044 MB / 3.851 GB, free: 111 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/7.614, allocations: 2.375 kB / 3.851 GB, free: 111 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003929/7.615, allocations: 329.9 kB / 3.851 GB, free: 110.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/7.617, allocations: 421.4 kB / 3.851 GB, free: 110.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/7.62, allocations: 1.736 MB / 3.853 GB, free: 108.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/7.62, allocations: 1.195 MB / 3.854 GB, free: 107.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001339/7.622, allocations: 387.1 kB / 3.855 GB, free: 106.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/7.622, allocations: 71.42 kB / 3.855 GB, free: 106.8 MB / 1.151 GB Notification: Performance of SimCode: time 9.62e-07/7.622, allocations: 3.938 kB / 3.855 GB, free: 106.8 MB / 1.151 GB Notification: Performance of Templates: time 0.04005/7.662, allocations: 26.56 MB / 3.881 GB, free: 80.41 MB / 1.151 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