Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 249.5 MB / 257 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 168.9 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.3 MB / 0.5671 GB, free: 15.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009252/0.0009252, allocations: 106.1 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.52e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2505, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.306/6.556, allocations: 2.252 GB / 3.137 GB, free: 115 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/6.557, allocations: 99 kB / 3.137 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.495/9.052, allocations: 0.604 GB / 3.741 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.984e-06/9.052, allocations: 0 / 3.741 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000109/9.052, allocations: 32.75 kB / 3.741 GB, free: 164.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.00317/9.055, allocations: 1.475 MB / 3.743 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/9.056, allocations: 14.44 kB / 3.743 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/9.057, allocations: 317.6 kB / 3.743 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/9.06, allocations: 1.191 MB / 3.744 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/9.06, allocations: 34.44 kB / 3.744 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/9.06, allocations: 61.34 kB / 3.744 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001331/9.061, allocations: 0.8295 MB / 3.745 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/9.063, allocations: 0.9817 MB / 3.746 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/9.063, allocations: 3.938 kB / 3.746 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.587e-05/9.063, allocations: 0 / 3.746 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/9.063, allocations: 45.86 kB / 3.746 GB, free: 162.2 MB / 0.8698 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.004191/9.067, allocations: 4.311 MB / 3.75 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/9.068, allocations: 0.6347 MB / 3.751 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/9.068, allocations: 341.6 kB / 3.751 GB, free: 158 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004877/9.069, allocations: 315.1 kB / 3.751 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/9.069, allocations: 44.25 kB / 3.751 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 2.073e-06/9.069, allocations: 0 / 3.751 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.001531/9.07, allocations: 0.7646 MB / 3.752 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/9.071, allocations: 111.1 kB / 3.752 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/9.071, allocations: 0.5519 MB / 3.753 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/9.071, allocations: 25.7 kB / 3.753 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/9.072, allocations: 0.5354 MB / 3.753 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/9.072, allocations: 241.5 kB / 3.754 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/9.072, allocations: 0 / 3.754 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/9.072, allocations: 337 kB / 3.754 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/9.072, allocations: 256.5 kB / 3.754 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/9.073, allocations: 477.6 kB / 3.755 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006987/9.073, allocations: 430 kB / 3.755 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/9.073, allocations: 0 / 3.755 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001323/9.075, allocations: 0.8834 MB / 3.756 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003618/9.075, allocations: 1.579 MB / 3.757 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/9.075, allocations: 3.906 kB / 3.757 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/9.075, allocations: 10.06 kB / 3.757 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/9.076, allocations: 182.5 kB / 3.758 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002922/9.076, allocations: 0.6051 MB / 3.758 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009179/9.077, allocations: 116.4 kB / 3.758 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/9.077, allocations: 34.92 kB / 3.758 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/9.077, allocations: 5.281 kB / 3.758 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001194/9.078, allocations: 0.751 MB / 3.759 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/9.078, allocations: 10.84 kB / 3.759 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/9.079, allocations: 10.09 kB / 3.759 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/9.079, allocations: 170.4 kB / 3.759 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/9.079, allocations: 15.73 kB / 3.759 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/9.08, allocations: 104.7 kB / 3.759 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/9.08, allocations: 35.05 kB / 3.759 GB, free: 151.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (97): * Single equations (assignments): 96 * 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.0001748/9.08, allocations: 130.9 kB / 3.76 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/9.08, allocations: 92.75 kB / 3.76 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/9.082, allocations: 0.7885 MB / 3.76 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/9.082, allocations: 10.41 kB / 3.76 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/9.082, allocations: 0 / 3.76 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/9.083, allocations: 0.9 MB / 3.761 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/9.086, allocations: 1.999 MB / 3.763 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/9.086, allocations: 0 / 3.763 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007094/9.087, allocations: 163.8 kB / 3.763 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/9.087, allocations: 7.062 kB / 3.763 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/9.087, allocations: 12 kB / 3.763 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002105/9.087, allocations: 0.5977 MB / 3.764 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/9.087, allocations: 7.938 kB / 3.764 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/9.088, allocations: 1.394 MB / 3.765 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/9.089, allocations: 255.7 kB / 3.766 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/9.089, allocations: 7.984 kB / 3.766 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006388/9.089, allocations: 62.03 kB / 3.766 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/9.09, allocations: 63.08 kB / 3.766 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/9.09, allocations: 20 kB / 3.766 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004427/9.09, allocations: 431.1 kB / 3.766 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/9.09, allocations: 0 / 3.766 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001765/9.092, allocations: 0.6777 MB / 3.767 GB, free: 145.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senVolFlo.d,senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * 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.002504/9.094, allocations: 2.078 MB / 3.769 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001647/9.096, allocations: 1.055 MB / 3.77 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/9.096, allocations: 0 / 3.77 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003911/9.096, allocations: 330.6 kB / 3.77 GB, free: 142 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/9.098, allocations: 427.3 kB / 3.771 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/9.101, allocations: 1.808 MB / 3.772 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/9.102, allocations: 1.203 MB / 3.774 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001249/9.103, allocations: 398.6 kB / 3.774 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/9.103, allocations: 63.38 kB / 3.774 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/9.103, allocations: 0 / 3.774 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.03591/9.139, allocations: 26.77 MB / 3.8 GB, free: 111.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches