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.441/1.441, allocations: 249.3 MB / 261.8 MB, free: 5.879 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.001196/0.001196, allocations: 188.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009316/0.0009315, allocations: 86.47 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.18e-05/4.181e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2389, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.185/6.423, allocations: 2.251 GB / 3.143 GB, free: 116 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005204/6.424, allocations: 95.95 kB / 3.143 GB, free: 116 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.35/8.774, allocations: 0.6111 GB / 3.754 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.355e-06/8.774, allocations: 0 / 3.754 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001083/8.774, allocations: 37.09 kB / 3.755 GB, free: 155.6 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.00325/8.777, allocations: 1.479 MB / 3.756 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/8.777, allocations: 7.781 kB / 3.756 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/8.779, allocations: 316.5 kB / 3.756 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/8.782, allocations: 1.198 MB / 3.757 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/8.782, allocations: 80.27 kB / 3.758 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/8.782, allocations: 105.9 kB / 3.758 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/8.784, allocations: 1.124 MB / 3.759 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/8.784, allocations: 3.938 kB / 3.759 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/8.784, allocations: 46.19 kB / 3.759 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/8.784, allocations: 36.81 kB / 3.759 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/8.785, allocations: 0.8819 MB / 3.76 GB, free: 152.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.00495/8.79, allocations: 4.525 MB / 3.764 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008722/8.791, allocations: 0.6696 MB / 3.765 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004283/8.792, allocations: 351.7 kB / 3.765 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005104/8.792, allocations: 314.2 kB / 3.765 GB, free: 146 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/8.792, allocations: 43.34 kB / 3.765 GB, free: 146 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 3.166e-06/8.792, allocations: 2.344 kB / 3.765 GB, free: 146 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.001352/8.794, allocations: 0.718 MB / 3.766 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/8.794, allocations: 111.6 kB / 3.766 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007542/8.794, allocations: 0.679 MB / 3.767 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/8.795, allocations: 45.7 kB / 3.767 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/8.795, allocations: 0.5248 MB / 3.767 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/8.795, allocations: 248.3 kB / 3.768 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/8.795, allocations: 16 kB / 3.768 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.572e-05/8.795, allocations: 340.5 kB / 3.768 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/8.796, allocations: 269.5 kB / 3.768 GB, free: 143 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/8.796, allocations: 0.4915 MB / 3.769 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/8.797, allocations: 350.6 kB / 3.769 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/8.797, allocations: 7.438 kB / 3.769 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00118/8.798, allocations: 0.8572 MB / 3.77 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003667/8.798, allocations: 1.581 MB / 3.771 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/8.798, allocations: 6.906 kB / 3.771 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/8.798, allocations: 8 kB / 3.772 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008313/8.799, allocations: 183.7 kB / 3.772 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003161/8.799, allocations: 0.5964 MB / 3.772 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/8.8, allocations: 140.6 kB / 3.772 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.038e-05/8.8, allocations: 31.98 kB / 3.772 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/8.8, allocations: 4 kB / 3.772 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009906/8.801, allocations: 0.7461 MB / 3.773 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/8.801, allocations: 4 kB / 3.773 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/8.801, allocations: 8 kB / 3.773 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/8.802, allocations: 179.7 kB / 3.773 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/8.802, allocations: 11.98 kB / 3.773 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008862/8.803, allocations: 133.8 kB / 3.773 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/8.803, allocations: 36 kB / 3.774 GB, free: 137.4 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.0002041/8.803, allocations: 156.5 kB / 3.774 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/8.803, allocations: 98.88 kB / 3.774 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/8.805, allocations: 0.7602 MB / 3.775 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/8.805, allocations: 11.75 kB / 3.775 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/8.805, allocations: 3.953 kB / 3.775 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008149/8.806, allocations: 0.8453 MB / 3.775 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003265/8.809, allocations: 2.094 MB / 3.777 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/8.809, allocations: 0 / 3.777 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007631/8.81, allocations: 169.5 kB / 3.778 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/8.81, allocations: 4 kB / 3.778 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/8.81, allocations: 21.42 kB / 3.778 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002383/8.81, allocations: 0.5977 MB / 3.778 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/8.81, allocations: 4 kB / 3.778 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/8.811, allocations: 1.364 MB / 3.779 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/8.812, allocations: 259.6 kB / 3.78 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/8.812, allocations: 23.98 kB / 3.78 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/8.813, allocations: 79.88 kB / 3.78 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/8.813, allocations: 48.44 kB / 3.78 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/8.813, allocations: 31.98 kB / 3.78 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007908/8.814, allocations: 0.5226 MB / 3.78 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/8.814, allocations: 0 / 3.78 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002521/8.817, allocations: 0.7522 MB / 3.781 GB, free: 129.3 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.003093/8.82, allocations: 1.864 MB / 3.783 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002199/8.822, allocations: 1.126 MB / 3.784 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/8.822, allocations: 0.6875 kB / 3.784 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005345/8.822, allocations: 347 kB / 3.784 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/8.825, allocations: 478 kB / 3.785 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/8.829, allocations: 1.859 MB / 3.787 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008519/8.829, allocations: 1.2 MB / 3.788 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001755/8.831, allocations: 431.4 kB / 3.788 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/8.831, allocations: 75.42 kB / 3.788 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.693e-06/8.831, allocations: 0 / 3.788 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.05961/8.891, allocations: 44.6 MB / 3.832 GB, free: 77.86 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